diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-28 01:23:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-28 01:23:11 +0100 |
commit | 4f0a841650eedb203fef800bfa3a8fdd1f795f38 (patch) | |
tree | 13a4fb4799ec9f3f7d3d0bee7055aa4e4364709a /package/xorg-server | |
parent | a80c0be3acf905d1c66d2813010d480e0b04b2fc (diff) |
only set suid bit when installing on target
Diffstat (limited to 'package/xorg-server')
-rw-r--r-- | package/xorg-server/files/xorg-server.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/xorg-server/files/xorg-server.postinst b/package/xorg-server/files/xorg-server.postinst index 0d8bd0d14..4d8403d7d 100644 --- a/package/xorg-server/files/xorg-server.postinst +++ b/package/xorg-server/files/xorg-server.postinst @@ -1,5 +1,5 @@ #!/bin/sh +if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/X;fi . $IPKG_INSTROOT/etc/functions.sh gid=$(get_next_gid) add_group video $gid -chmod u+s /usr/bin/X |