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

Remove add site if the app was installed

parent e8814716
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,11 @@ function web_admin_create_installed_apps {
echo ' <div class="row">' >> "$appslist_filename"
fi
filename="/var/www/${local_hostname}/htdocs/admin/app_add_${app_name}.html"
if [ -f "$filename" ]; then
rm "$filename"
fi
filename="/var/www/${local_hostname}/htdocs/admin/app_${app_name}.html"
{ echo ' <div class="column">';
......
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