summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-25 21:13:44 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-25 21:13:44 -0500
commitcf578d1e31b6b8c04bf562013e3988b1d90deb3f (patch)
treedc611be2eb748252fa47804267b2bd937a60eb98
parentdce76c66abe0ce630ef65b3b0da1242ff7fc36bf (diff)
pkgbuild-check-nonfree shows message acording what it's doing
-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