summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-24 00:27:07 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-24 00:27:07 -0300
commitd2abc7fe1075bf541cd85b29e8053096ab74fb29 (patch)
tree5aecada7f167c7c84f85cc7a04ea665c3cf5487b
parent96697c7de79d18524eb168dd6d4d7cad412b0719 (diff)
parentbcc304daf7152101d95a148350a18b7a7d140e9f (diff)
Merge branch 'master' into fauno
-rwxr-xr-xpkgbuild-check-nonfree2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index bd6fa4b..df0ff36 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -161,7 +161,7 @@ while getopts 'h' arg; do
esac
done
-if (( ! EUID )); then
+if [ -w / ]; then
error "Run as normal user"
fi