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 {
if [ -f "$users_file" ]; then
rm "$users_file"
fi
rm "$webadmin_install_dir/userprofile_"*.html
return
fi
......@@ -174,6 +175,7 @@ function web_admin_create_add_apps {
if [ -f "$appslist_add_filename" ]; then
rm "$appslist_add_filename"
fi
rm "$webadmin_install_dir/app_add_"*.html
return
fi
......@@ -330,6 +332,7 @@ function web_admin_create_installed_apps {
if [ -f "$appslist_filename" ]; then
rm "$appslist_filename"
fi
rm "$webadmin_install_dir/app_"*.html
return
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