files: fix warning message

PR #1241
This commit is contained in:
Cole Helbling 2020-05-16 18:35:05 -07:00 committed by Robert Helgesson
parent 9ec9f004e1
commit 645149d77b
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -169,7 +169,7 @@ in
if [[ -e "$newGenFiles/$relativePath" ]] ; then
$VERBOSE_ECHO "Checking $targetPath: exists"
elif [[ ! "$(readlink "$targetPath")" == $homeFilePattern ]] ; then
warnEcho "Path '$targetPath' not link into Home Manager generation. Skipping delete."
warnEcho "Path '$targetPath' does not link into a Home Manager generation. Skipping delete."
else
$VERBOSE_ECHO "Checking $targetPath: gone (deleting)"
$DRY_RUN_CMD rm $VERBOSE_ARG "$targetPath"