diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 20:35:45 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 20:35:45 -0500 |
commit | f63607c450b303b8700e29ad1270b30eadec5888 (patch) | |
tree | a455b78c67fce5de2758b657cb403809fb77621c /db-import-archlinux-src | |
parent | 2a2b9637ee3192090c9a9a06a4e453aead8727e4 (diff) |
Switch to use libreblacklist.
Diffstat (limited to 'db-import-archlinux-src')
-rwxr-xr-x | db-import-archlinux-src | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/db-import-archlinux-src b/db-import-archlinux-src index 72171f1..8dbb744 100755 --- a/db-import-archlinux-src +++ b/db-import-archlinux-src @@ -7,7 +7,6 @@ ABSLIBRE=/srv/abslibre ABSGIT=/srv/git/abslibre/abslibre.git # Remote # ABSGIT=http://projects.parabolagnulinux.org/abslibre.git -BLACKLIST=/home/repo/blacklist/blacklist.txt SYNCARGS='-mrtv --no-motd --delete-after --no-p --no-o --no-g --quiet' BLFILE=/tmp/blacklist.txt @@ -36,8 +35,8 @@ function sync_abs() { } function get_blacklist() { - printf ":: Updating blacklist...\t" - cat "${BLACKLIST}" | cut -d':' -f1 | sort -u | \ + libreblacklist update + libreblacklist get-pkg | sort -u | \ sed "s/^/**\//" > ${BLFILE} || { printf "[FAILED]\n" return 1 |