diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index 5ca728efa23..21189b205f1 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -434,19 +434,30 @@ $(uninstall_directions) EOF fi - # TODO: I think it would be good for this step to accumulate more - # knowledge of older obsolete artifacts, if there are any. - # We could issue a "reminder" here that the user might want - # to clean them up? - + problematic_profile_targets=() for profile_target in "${PROFILE_TARGETS[@]}"; do - # TODO: I think it would be good to accumulate a list of all - # of the copies so that people don't hit this 2 or 3x in - # a row for different files. - if [ -e "$profile_target$PROFILE_BACKUP_SUFFIX" ]; then - # this backup process first released in Nix 2.1 - failure <