summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 15:17:42 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 15:17:42 -0500
commitb69913faf918304d49b7009240f2f8c77583a19d (patch)
treef353ba462dcc406a96d612f43a5c362b2c2d142d
parent7a7601e432ae6103d2dd873690005385db8189a6 (diff)
Fixed test
-rwxr-xr-xpkgbuild-check-nonfree10
1 files 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