aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess/store.sh
diff options
context:
space:
mode:
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