summaryrefslogtreecommitdiff
path: root/pkgbuild-check-nonfree
diff options
context:
space:
mode:
Diffstat (limited to 'pkgbuild-check-nonfree')
-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