aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess/store.sh
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-18 04:24:12 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-18 04:24:12 +0200
commit84aca7b9f43b760d757b58c83d52f3eb923b4664 (patch)
treeddd20c6da33ca9b462763d5ded0e43c22b89684b /jsaccess/store.sh
parentjsaccess: store.sh working + unittests (diff)
downloadlaurent-tools-84aca7b9f43b760d757b58c83d52f3eb923b4664.tar.xz
laurent-tools-84aca7b9f43b760d757b58c83d52f3eb923b4664.zip
jsaccess: store.sh deployment done
Diffstat (limited to 'jsaccess/store.sh')
-rwxr-xr-xjsaccess/store.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/jsaccess/store.sh b/jsaccess/store.sh
index 2b6a2c4..a75b220 100755
--- a/jsaccess/store.sh
+++ b/jsaccess/store.sh
@@ -34,7 +34,6 @@ usage_exit() {
echo
echo "actions to deploy local store to remote:"
echo " push [store]"
- echo " pull [store]"
echo " rset <rsync_uri> [store]"
echo " rget [store]"
echo
@@ -218,12 +217,7 @@ action_rget() {
action_push() {
_rget
- rsync -avzP $store $rsync_uri
-}
-
-action_pull() {
- _rget
- rsync -avzP $rsync_uri $store
+ rsync -avzP $store/* $rsync_uri
}
# Check for dependencies
@@ -275,11 +269,6 @@ push)
_store_get $2
action_push
;;
-pull)
- [ $# -ne 1 -a $# -ne 2 ] && usage_exit
- _store_get $2
- action_pull
- ;;
rset)
[ $# -ne 2 -a $# -ne 3 ] && usage_exit
_store_get $3