summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-03-20 16:51:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-03-20 16:51:44 -0700
commit431ded4f4ace0da671f23d32129b902ed5766ee0 (patch)
tree45baa7ec5b7590fd589152ea418cceb0cca1a61a
parent6813cfaedcbb8579d236f281ef74c2c442ac0292 (diff)
downloaddotfiles-431ded4f4ace0da671f23d32129b902ed5766ee0.tar.gz
update duply-run on athena
-rwxr-xr-xbin/duply-run14
1 files changed, 8 insertions, 6 deletions
diff --git a/bin/duply-run b/bin/duply-run
index b401fbef..12c145f8 100755
--- a/bin/duply-run
+++ b/bin/duply-run
@@ -12,9 +12,10 @@ unset SSH_AUTH_SOCK
export SSH_AGENT_PID
export SSH_AUTH_SOCK
-# we want python 2 not python 3
-PATH=/usr/bin:$PATH
-export PATH
+# no longer on MetaArray
+# # we want python 2 not python 3
+# PATH=/usr/bin:$PATH
+# export PATH
case "$(hostname -f)" in
"ma.sdf.org")
@@ -48,9 +49,10 @@ case "$(hostname -f)" in
offline || duply artemis-swhitton-home backup_purge --force
;;
"athena.silentflame.com")
- # use our own compiled version in order to get --s3-use-ia
- export PYTHONPATH='/root/local/lib/python2.7/site-packages/'
- export PATH=/root/local/bin:$PATH
+ # now available from backports
+ # # use our own compiled version in order to get --s3-use-ia
+ # export PYTHONPATH='/root/local/lib/python2.7/site-packages/'
+ # export PATH=/root/local/bin:$PATH
duply athena-root-run backup
;;
esac