summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-01-24 11:06:32 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-01-24 11:06:32 -0600
commit1a34a23f020f2af0944df2fce4d7f6fc675a5d92 (patch)
tree00433b44bc28d1703f856c2146bbfef4adcf71a7
parent7a00f2a55b69c39ae8ebad99b3d91a509b614b1b (diff)
parentbcc304daf7152101d95a148350a18b7a7d140e9f (diff)
Merge http://projects.parabolagnulinux.org/libretools
-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