summaryrefslogtreecommitdiff
path: root/abslibre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-26 14:43:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-26 14:43:03 -0300
commit56694a1e73a5c91df075fa3307bdd40a9d1e520f (patch)
treeeb8c04e1af6ffc248a49d213f846ad8da1e19cb0 /abslibre
parent3bc03bbdce0ad13d6db6c2a35ea3a2e7333004b7 (diff)
import changes from repo
Diffstat (limited to 'abslibre')
-rwxr-xr-xabslibre9
1 files changed, 2 insertions, 7 deletions
diff --git a/abslibre b/abslibre
index 6b21d24..72171f1 100755
--- a/abslibre
+++ b/abslibre
@@ -52,13 +52,8 @@ function get_blacklist() {
function sync_abs_libre() {
# Clone ABSLibre git repo
- if [ -d /tmp/abslibre/.git ]; then
- pushd /tmp/abslibre >/dev/null 2>&1
- git pull
- popd >/dev/null 2>&1
- else
- git clone "$ABSGIT" /tmp/abslibre
- fi
+ rm -rf /tmp/abslibre
+ git clone "$ABSGIT" /tmp/abslibre
# Sync from ABS and then sync from ABSLibre
printf ":: Syncing ABSLibre...\t"