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

temp setup filename

parent 5a45edbb
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ COMPLETION_FILE="/root/${PROJECT_NAME}-completed.txt"
local_hostname=$(grep 'host-name' /etc/avahi/avahi-daemon.conf | awk -F '=' '{print $2}').local
webadmin_install_dir="/var/www/${local_hostname}/htdocs/admin"
setup_file="$webadmin_install_dir/setup.txt"
setup_file="$webadmin_install_dir/.temp_setup.txt"
domain_file="$webadmin_install_dir/.temp_domain.txt"
pending_removes="$webadmin_install_dir/pending_removes.txt"
pending_installs="$webadmin_install_dir/pending_installs.txt"
......@@ -254,7 +254,7 @@ function before_setup_runs {
cp "/usr/share/${PROJECT_NAME}/webadmin/${curr_language}/setup_installing.html" "$webadmin_install_dir/index.html"
# get the username and domain from the setup.txt file
# get the username and domain from the .temp_setup.txt file
# created by setup.php
MY_USERNAME=$(cat "$setup_file")
if [ ! "$MY_USERNAME" ]; then
......
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