summaryrefslogtreecommitdiff
path: root/package/xorg-server
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/xorg-server
parenta80c0be3acf905d1c66d2813010d480e0b04b2fc (diff)
only set suid bit when installing on target
Diffstat (limited to 'package/xorg-server')
-rw-r--r--package/xorg-server/files/xorg-server.postinst2
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