1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-24 03:59:46 +01:00

home-environment: only notify about path deletion on verbose output

(cherry picked from commit 1eee82272a)
This commit is contained in:
Cornelius Mika 2017-08-17 10:16:28 +02:00 committed by Robert Helgesson
parent 9865e3ce29
commit b18d5e02ef
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -313,7 +313,7 @@ in
elif [[ ! "$(readlink "$targetPath")" =~ "${pattern}" ]] ; then
warnEcho "Path '$targetPath' not link into Home Manager generation. Skipping delete."
else
echo "Checking $targetPath gone (deleting)"
$VERBOSE_ECHO "Checking $targetPath gone (deleting)"
$DRY_RUN_CMD rm $VERBOSE_ARG "$targetPath"
# Recursively delete empty parent directories.