Fix reinstall logic

This commit is contained in:
Mike Reeves
2023-01-11 12:26:50 -05:00
parent 35e0a78cad
commit b36f1bc79e

View File

@@ -141,6 +141,7 @@ if [[ -f /root/accept_changes ]]; then
info "Old setup detected. Moving the last setup.log to setup.log.bak" info "Old setup detected. Moving the last setup.log to setup.log.bak"
mv "$setup_log" "$setup_log.bak" mv "$setup_log" "$setup_log.bak"
[ -f "$error_log" ] && mv "$error_log" "$error_log.bak" [ -f "$error_log" ] && mv "$error_log" "$error_log.bak"
source ./so-variables
reinstall_init reinstall_init
fi fi