From 74d634231592569faccb31f0caa876181c275c99 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 5 Jan 2009 12:09:35 -0600 Subject: change the database push to straight scp. Right now this stops restricted accounts from updating the database on km.net. --- build_tools/bin/kmsync.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 "-------------------------------------------------------" -- cgit v0.12