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

Check that webadmin directory exists

parent 51a6092d
No related branches found
No related tags found
No related merge requests found
......@@ -346,16 +346,18 @@ do
if [ -f /tmp/.upgrading ]; then
sleep 2
else
if [ -f "$setup_file" ]; then
update_progress_bar
before_setup_runs
after_setup_has_finished
sleep 1
else
if [ ! -f "$webadmin_install_dir/setup.prev" ]; then
install_apps_from_webadmin
if [ -d "$webadmin_install_dir" ]; then
if [ -f "$setup_file" ]; then
update_progress_bar
before_setup_runs
after_setup_has_finished
sleep 1
remove_apps_from_webadmin
else
if [ ! -f "$webadmin_install_dir/setup.prev" ]; then
install_apps_from_webadmin
sleep 1
remove_apps_from_webadmin
fi
fi
fi
sleep 1
......
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