1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00

home-environment: replace superfluous spaces in debug messages

(cherry picked from commit 3dba6fc95c)
This commit is contained in:
Cornelius Mika 2017-08-17 10:16:29 +02:00 committed by Robert Helgesson
parent b18d5e02ef
commit 4e7a26e710
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -309,11 +309,11 @@ in
relativePath="''${sourcePath#$oldGenFiles/}"
targetPath="$HOME/$relativePath"
if [[ -e "$newGenFiles/$relativePath" ]] ; then
$VERBOSE_ECHO "Checking $targetPath exists"
$VERBOSE_ECHO "Checking $targetPath: exists"
elif [[ ! "$(readlink "$targetPath")" =~ "${pattern}" ]] ; then
warnEcho "Path '$targetPath' not link into Home Manager generation. Skipping delete."
else
$VERBOSE_ECHO "Checking $targetPath gone (deleting)"
$VERBOSE_ECHO "Checking $targetPath: gone (deleting)"
$DRY_RUN_CMD rm $VERBOSE_ARG "$targetPath"
# Recursively delete empty parent directories.