summaryrefslogtreecommitdiff
path: root/pkgbuild-check-nonfree
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-24 00:26:17 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-24 00:26:17 -0300
commitbcc304daf7152101d95a148350a18b7a7d140e9f (patch)
tree40996d62421c929e30c1ef7d79dfd2315d77fb94 /pkgbuild-check-nonfree
parent0985429b68d8da1016bf4a84b2a2d32fb8c3027c (diff)
Fixed ID error
Diffstat (limited to 'pkgbuild-check-nonfree')
-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