Update app-manager.py

This commit is contained in:
Aaron Dewes 2022-10-01 19:56:05 +02:00 committed by GitHub
parent 0ef2535c98
commit 1d5a262759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,8 +105,8 @@ elif args.action == 'install':
if args.app in implementations:
for implementation in implementations:
if "installedApps" in userData and implementation in userData["installedApps"]:
print("Another implementation of {} is already installed: {}. Uninstall it first to install this app.".format(implementation))
exit(0)
print("Another implementation of {} is already installed: {}. Uninstall it first to install this app.".format(virtual_app, implementation))
exit(1)
createDataDir(args.app)
compose(args.app, "pull")
compose(args.app, "up --detach")