diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-17 14:18:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-17 14:18:47 -0700 |
commit | dff3b59fe11bd00da9ecbc7dbfe804a61b0f100b (patch) | |
tree | 5824068e7ba2e3508b1313e8632e40cf37efa205 | |
parent | 9f7e771f0b308a2366b4a75aa034b2580c69b46e (diff) | |
download | dotfiles-dff3b59fe11bd00da9ecbc7dbfe804a61b0f100b.tar.gz |
local duply doesn't go ahead if offline
-rwxr-xr-x | bin/duply-run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/duply-run b/bin/duply-run index 7b4fbc2e..55db40fa 100755 --- a/bin/duply-run +++ b/bin/duply-run @@ -40,13 +40,13 @@ case "$(hostname -f)" in # force execution with duply in my dotfiles repo, not apt # package version installed system-wide (though $PATH from # .shenv should get this right anyway) - $HOME/bin/duply zephyr-swhitton-home-run backup_purge --force + offline || $HOME/bin/duply zephyr-swhitton-home-run backup_purge --force fi ;; "artemis.silentflame.com") cd $HOME if [ -e "$HOME/.ssh/id_duply" ]; then - $HOME/bin/duply artemis-swhitton-home-run backup_purge --force + offline || $HOME/bin/duply artemis-swhitton-home-run backup_purge --force fi ;; "athena.silentflame.com") |