mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
home-environment: only notify about path deletion on verbose output
This commit is contained in:
parent
da5b7bea78
commit
1eee82272a
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ in
|
||||||
elif [[ ! "$(readlink "$targetPath")" =~ "${pattern}" ]] ; then
|
elif [[ ! "$(readlink "$targetPath")" =~ "${pattern}" ]] ; then
|
||||||
warnEcho "Path '$targetPath' not link into Home Manager generation. Skipping delete."
|
warnEcho "Path '$targetPath' not link into Home Manager generation. Skipping delete."
|
||||||
else
|
else
|
||||||
echo "Checking $targetPath gone (deleting)"
|
$VERBOSE_ECHO "Checking $targetPath gone (deleting)"
|
||||||
$DRY_RUN_CMD rm $VERBOSE_ARG "$targetPath"
|
$DRY_RUN_CMD rm $VERBOSE_ARG "$targetPath"
|
||||||
|
|
||||||
# Recursively delete empty parent directories.
|
# Recursively delete empty parent directories.
|
||||||
|
|
Loading…
Reference in a new issue