From b69913faf918304d49b7009240f2f8c77583a19d Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Tue, 19 Oct 2010 15:17:42 -0500 Subject: Fixed test --- pkgbuild-check-nonfree | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index 42a618b..d4e999a 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -22,12 +22,13 @@ ev=0 dir=$(pwd) config_dir=$XDG_CONFIG_HOME/libretools -if [-d $config_dir]; then +if [ -d $config_dir ]; then mkdir -p $config_dir fi cd $config_dir +echo "" echo "Downloading the blacklist of proprietary software packages." echo "" wget -N http://www.parabolagnulinux.org/docs/blacklist.txt 2>/dev/null || { @@ -46,9 +47,9 @@ for item in ${pkgname[@]}; do fi done -echo "Looking for non-free dependancies:" +echo "Looking for non-free dependancies" -echo "Found in «depends»:" +echo " Found in «depends»:" for item in ${depends[@]} ; do if in_array $item ${a[@]}; then ev=15 @@ -56,7 +57,7 @@ for item in ${depends[@]} ; do fi done -echo "Found in «makedepends»:" +echo " Found in «makedepends»:" for item in ${makedepends[@]}; do if in_array $item ${a[@]}; then ev=15 @@ -65,5 +66,6 @@ for item in ${makedepends[@]}; do done cd $dir +echo "" exit $ev \ No newline at end of file -- cgit v1.2.3-54-g00ecf