summaryrefslogtreecommitdiff
path: root/package/sudo
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-28 01:23:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-28 01:23:11 +0100
commit4f0a841650eedb203fef800bfa3a8fdd1f795f38 (patch)
tree13a4fb4799ec9f3f7d3d0bee7055aa4e4364709a /package/sudo
parenta80c0be3acf905d1c66d2813010d480e0b04b2fc (diff)
only set suid bit when installing on target
Diffstat (limited to 'package/sudo')
-rw-r--r--package/sudo/files/sudo.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/sudo/files/sudo.postinst b/package/sudo/files/sudo.postinst
index 300ea80ef..a392a58c4 100644
--- a/package/sudo/files/sudo.postinst
+++ b/package/sudo/files/sudo.postinst
@@ -1,3 +1,2 @@
#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-chmod u+s /usr/bin/sudo
+if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/sudo;fi