[fix][wip] Don't use variable for accept_changes file

This commit is contained in:
William Wernert
2020-11-18 12:54:29 -05:00
parent 57e9f69c97
commit 34fd80182e
2 changed files with 2 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ while [[ $# -gt 0 ]]; do
done
is_reinstall=false
if [[ -f $change_file ]]; then
if [[ -f /root/accept_changes ]]; then
is_reinstall=true
# Move last setup log to backup
@@ -425,9 +425,9 @@ fi
if [[ $is_manager || $is_import ]]; then whiptail_so_allow; fi
whiptail_make_changes
touch $change_file
# From here on changes will be made.
echo "1" > /root/accept_changes
if [[ $is_reinstall ]]; then
reinstall_init