From b92424c33dcdf4da77530efa36ab3a7b0ffef375 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 bd2fb6ff..422e058c 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" targetDir="$(dirname "$targetPath")"