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

Remove files if setup is not complete

parent a59f0889
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ function web_admin_create_users { ...@@ -95,6 +95,7 @@ function web_admin_create_users {
if [ -f "$users_file" ]; then if [ -f "$users_file" ]; then
rm "$users_file" rm "$users_file"
fi fi
rm "$webadmin_install_dir/userprofile_"*.html
return return
fi fi
...@@ -174,6 +175,7 @@ function web_admin_create_add_apps { ...@@ -174,6 +175,7 @@ function web_admin_create_add_apps {
if [ -f "$appslist_add_filename" ]; then if [ -f "$appslist_add_filename" ]; then
rm "$appslist_add_filename" rm "$appslist_add_filename"
fi fi
rm "$webadmin_install_dir/app_add_"*.html
return return
fi fi
...@@ -330,6 +332,7 @@ function web_admin_create_installed_apps { ...@@ -330,6 +332,7 @@ function web_admin_create_installed_apps {
if [ -f "$appslist_filename" ]; then if [ -f "$appslist_filename" ]; then
rm "$appslist_filename" rm "$appslist_filename"
fi fi
rm "$webadmin_install_dir/app_"*.html
return return
fi fi
......
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