summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/kmsync.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-05 18:09:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-05 18:09:35 (GMT)
commit74d634231592569faccb31f0caa876181c275c99 (patch)
tree4c55e8160ed53a2bdcec6e389fea5dfd4c372b15 /build_tools/bin/kmsync.sh
parent295b260a12c65e3df633836f3b5c38ec87a3f09a (diff)
downloadlinhes_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/bin/kmsync.sh')
-rwxr-xr-xbuild_tools/bin/kmsync.sh4
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 "-------------------------------------------------------"