summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgbuild-check-nonfree7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index e947a39..5ecb5f7 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -38,8 +38,11 @@ ev=0
# Download the blacklist.
msg "Downloading the blacklist of proprietary software packages."
wget -N -q -O blacklist.txt "${BLACKLIST}" 2>/dev/null || {
- error "Download failed, exiting"
- [ -e $XDG_CONFIG_HOME/libretools/blacklist.txt ] || exit 1
+ [ -e $XDG_CONFIG_HOME/libretools/blacklist.txt ] || {
+ error "Download failed, exiting"
+ exit 1
+ }
+ warning "Using local copy of blacklist"
}
# Get everything before the `:' in the blacklist (that's the names of the