From 1eee82272a78a2110050768575eb0c6fdbccec4a Mon Sep 17 00:00:00 2001 From: Cornelius Mika Date: Thu, 17 Aug 2017 10:16:28 +0200 Subject: [PATCH] home-environment: only notify about path deletion on verbose output --- modules/home-environment.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index e88ea95d4..f9dd55418 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -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.