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

This commit is contained in:
Cornelius Mika 2017-08-17 10:16:28 +02:00
parent 3ef56576d3
commit b92424c33d

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"
targetDir="$(dirname "$targetPath")"