diff options
author | sefidel <contact@sefidel.net> | 2023-08-01 22:12:51 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-01 22:12:51 +0900 |
commit | dad0e2aeca6740a559c56e35e2d87abb6cce7659 (patch) | |
tree | 9a046b64209c3a055446136664dab520a850b163 | |
parent | c61ae865683f4f702984f6d09c309d3224cc9890 (diff) | |
download | nixrc-dad0e2aeca6740a559c56e35e2d87abb6cce7659.tar.gz nixrc-dad0e2aeca6740a559c56e35e2d87abb6cce7659.zip |
fix(home/base): airport: fix delete-after not getting added
-rwxr-xr-x | home/profiles/base/scripts/airport.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/home/profiles/base/scripts/airport.nix b/home/profiles/base/scripts/airport.nix index c46573d..996d896 100755 --- a/home/profiles/base/scripts/airport.nix +++ b/home/profiles/base/scripts/airport.nix @@ -61,8 +61,7 @@ bin_exists "rsync" || die "FATAL: couldn't find rsync" opts=(-au --stats --info=progress2) - [ $SAFEOP ] || opts+=(--delete-after) - + [ $SAFEOP -eq 1 ] && opts+=(--delete-after) case "$1" in send) delay "Airport will run 'rsync -au' to $DIR to SEND" |