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

lib-bash: always print message announcing a dry run

This commit is contained in:
Cornelius Mika 2017-08-17 10:16:30 +02:00 committed by Robert Helgesson
parent 3dba6fc95c
commit 5c098dc7ad
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -39,7 +39,7 @@ else
fi fi
if [[ -v DRY_RUN ]] ; then if [[ -v DRY_RUN ]] ; then
$VERBOSE_ECHO "This is a dry run" echo "This is a dry run"
export DRY_RUN_CMD=echo export DRY_RUN_CMD=echo
else else
$VERBOSE_ECHO "This is a live run" $VERBOSE_ECHO "This is a live run"