home-environment: only notify about path deletion on verbose output
(cherry picked from commit 1eee82272a
)
This commit is contained in:
parent
9865e3ce29
commit
b18d5e02ef
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue