[refactor][fix] Remove old so-* containers, make fs changes after whiptail menus

This commit is contained in:
William Wernert
2020-11-03 18:10:16 -05:00
parent 3bf57382ce
commit db31cf3083
2 changed files with 17 additions and 14 deletions

View File

@@ -54,13 +54,16 @@ while [[ $# -gt 0 ]]; do
esac
done
if [[ -f $setup_log ]]; then
is_reinstall=true
# Move last setup log to backup
mv $setup_log $setup_log.bak
fi
# Begin Installation pre-processing
parse_install_username
if [[ -f $setup_log ]]; then
reinstall_init
fi
title "Initializing Setup"
info "Installing as the $INSTALLUSERNAME user"
@@ -425,6 +428,10 @@ whiptail_make_changes
# From here on changes will be made.
if [[ $is_reinstall ]]; then
reinstall_init
fi
if [[ -n "$TURBO" ]]; then
use_turbo_proxy
fi