diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-05 18:09:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-05 18:09:35 (GMT) |
commit | 74d634231592569faccb31f0caa876181c275c99 (patch) | |
tree | 4c55e8160ed53a2bdcec6e389fea5dfd4c372b15 /build_tools | |
parent | 295b260a12c65e3df633836f3b5c38ec87a3f09a (diff) | |
download | linhes_dev-74d634231592569faccb31f0caa876181c275c99.zip |
change the database push to straight scp.
Right now this stops restricted accounts from updating the database on km.net.
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/bin/kmsync.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/bin/kmsync.sh b/build_tools/bin/kmsync.sh index c15bef4..f8e9168 100755 --- a/build_tools/bin/kmsync.sh +++ b/build_tools/bin/kmsync.sh @@ -40,7 +40,9 @@ function sync_dirs { update_db_repo.sh $LOCAL $3 #push the database back - unison km-up -logfile /tmp/unison-up.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE $LOCAL + echo "Pushing the pkg database to knoppmyth.net" + scp $LOCAL/*.db.tar.gz reposync@knoppmyth.net:$REMOTE/ + echo "-------------------------------------------------------" echo "----------- Finished with $3 -----------" echo "-------------------------------------------------------" |