summaryrefslogtreecommitdiff
path: root/package/sudo/files/sudo.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-28 17:25:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-28 17:25:50 +0100
commita2cb1b3951d0e9b5e2c16ce6e871e7ef7056c951 (patch)
treec84b35bb1a5ad70cf82053143776e5dc47860a2d /package/sudo/files/sudo.postinst
parent834241eb737720ba7ec1a15f81bc29ace5fdb12c (diff)
parent10a4e449eebc151f3bc7774433a53ee1a44c9919 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/sudo/files/sudo.postinst')
-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