From 780c57ec14e7ccbf8695ccc159bbee49cf17e237 Mon Sep 17 00:00:00 2001 From: Parabola Repo Date: Mon, 8 Jun 2015 07:04:15 +0100 Subject: These changes to abslibre were sitting on the server --- abslibre | 10 +++++----- 1 file 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 } -- cgit v1.2.3