summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola Repo <dev@lists.parabola.nu>2015-06-08 07:04:15 +0100
committerParabola Repo <dev@lists.parabola.nu>2015-06-08 07:04:15 +0100
commit780c57ec14e7ccbf8695ccc159bbee49cf17e237 (patch)
tree52bf697e961e49be771c9c886abb1662a80cd0e9
parent00c15eb70600b5024973fd19528761381a89f759 (diff)
These changes to abslibre were sitting on the server
-rwxr-xr-xabslibre10
1 files changed, 5 insertions, 5 deletions
diff --git a/abslibre b/abslibre
index af57ec2..6b21d24 100755
--- a/abslibre
+++ b/abslibre
@@ -1,6 +1,6 @@
#!/bin/bash
-set -e -x
+set -e
FTP_BASE=/srv/repo/main
ABSLIBRE=/srv/abslibre
@@ -52,12 +52,12 @@ function get_blacklist() {
function sync_abs_libre() {
# Clone ABSLibre git repo
- if [ -d /var/tmp/abslibre/.git ]; then
- pushd /var/tmp/abslibre >/dev/null 2>&1
+ if [ -d /tmp/abslibre/.git ]; then
+ pushd /tmp/abslibre >/dev/null 2>&1
git pull
popd >/dev/null 2>&1
else
- git clone "$ABSGIT" /var/tmp/abslibre
+ git clone "$ABSGIT" /tmp/abslibre
fi
# Sync from ABS and then sync from ABSLibre
@@ -67,7 +67,7 @@ function sync_abs_libre() {
${ABSROOT} \
${ABSLIBRE} \
&&
- for ARCH in i686 x86_64; do rsync -v -mrtq --no-motd --no-p --no-o --no-g --quiet --exclude=.git/ /var/tmp/abslibre/ ${ABSLIBRE}/${ARCH}/; done) || {
+ for ARCH in i686 x86_64; do rsync -v -mrtq --no-motd --no-p --no-o --no-g --quiet --exclude=.git/ /tmp/abslibre/ ${ABSLIBRE}/${ARCH}/; done) || {
printf "[FAILED]\n"
return 1
}