diff options
author | Parabola Repo <dev@lists.parabola.nu> | 2015-06-08 07:04:15 +0100 |
---|---|---|
committer | Parabola Repo <dev@lists.parabola.nu> | 2015-06-08 07:04:15 +0100 |
commit | 780c57ec14e7ccbf8695ccc159bbee49cf17e237 (patch) | |
tree | 52bf697e961e49be771c9c886abb1662a80cd0e9 | |
parent | 00c15eb70600b5024973fd19528761381a89f759 (diff) |
These changes to abslibre were sitting on the server
-rwxr-xr-x | abslibre | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 } |