diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 13:18:11 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 13:18:11 -0500 |
commit | 64c019b64b2831b1799015b8e0ff17c29bea6dea (patch) | |
tree | f51e8ea0f022bce5a0d36f35496542d3dbe88a77 /pkgbuild-check-nonfree | |
parent | 557b9c359b8f1bf96dc880f7b4ac7dbaba45f7a5 (diff) |
* pkgbuild-check-nonfree exits only if there's no blacklist file.
* fullpkg-ng does not librerelease, that's up to you.
Diffstat (limited to 'pkgbuild-check-nonfree')
-rwxr-xr-x | pkgbuild-check-nonfree | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index 774c72f..f3fcd95 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -23,7 +23,8 @@ source /etc/libretools.conf [[ -f $XDG_CONFIG_HOME/libretools/libretools.conf ]] && \ source $XDG_CONFIG_HOME/libretools/libretools.conf -pushd $(mktemp -d) >/dev/null +mkdir -p $XDG_CONFIG_HOME/libretools +pushd $XDG_CONFIG_HOME/libretools/ >/dev/null # This is the exit status. ev=0 @@ -38,7 +39,7 @@ ev=0 msg "Downloading the blacklist of proprietary software packages." wget -N -q -O blacklist.txt "${BLACKLIST}" 2>/dev/null || { error "Download failed, exiting" - exit 1 + [ -e $XDG_CONFIG_HOME/libretools/blacklist.txt ] || exit 1 } # Get everything before the `:' in the blacklist (that's the names of the |