From b18d5e02eff12a4c3c4e9a79665d8ffbeb1a90bd 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 (cherry picked from commit 1eee82272a78a2110050768575eb0c6fdbccec4a) --- 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 321a684e7..02bc551ed 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.