summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-17 20:35:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-17 20:35:45 -0500
commitf63607c450b303b8700e29ad1270b30eadec5888 (patch)
treea455b78c67fce5de2758b657cb403809fb77621c /db-check-nonfree
parent2a2b9637ee3192090c9a9a06a4e453aead8727e4 (diff)
Switch to use libreblacklist.
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-xdb-check-nonfree4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index ea123fa..dd69501 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -1,7 +1,6 @@
#!/bin/bash
. "$(dirname "$(readlink -e "$0")")/config"
-. "$(dirname "$(readlink -e "$0")")/db-check-nonfree.conf"
. "$(dirname "$(readlink -e "$0")")/db-functions"
if [ $# -ge 1 ]; then
@@ -17,7 +16,8 @@ for repo in "${repos[@]}"; do
done
msg "Check nonfree in repo:"
-nonfree=($(cut -d: -f1 "${BLACKLIST_FILE}" | sort -u))
+libreblacklist update
+nonfree=($(libreblacklist get-pkg | sort -u))
for repo in "${ARCHREPOS[@]}"; do
for pkgarch in "${ARCHES[@]}"; do
msg2 "%s %s" "$repo" "$pkgarch"