Skip to content
Snippets Groups Projects
Commit 806098df authored by Bob Mottram's avatar Bob Mottram
Browse files

Update installed apps

parent 251e2a82
No related branches found
No related tags found
No related merge requests found
......@@ -863,6 +863,7 @@ function install_apps_from_webadmin {
fi
chown www-data:www-data "$webadmin_install_dir/applog.txt"
web_admin_create_installed_apps
fi
# remove the line
sed -i "/$linestr/d" "$pending_installs"
......@@ -885,8 +886,9 @@ function remove_apps_from_webadmin {
fi
/usr/local/bin/${PROJECT_NAME}-addremove remove "${app_name}" > "$webadmin_install_dir/applog.txt"
web_admin_create_add_apps
chown www-data:www-data "$webadmin_install_dir/applog.txt"
web_admin_create_add_apps
web_admin_create_installed_apps
fi
# remove the line
sed -i "/$linestr/d" "$pending_removes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment