summaryrefslogtreecommitdiff
path: root/abslibre
diff options
context:
space:
mode:
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"