summaryrefslogtreecommitdiff
path: root/package/xorg-server/files/xorg-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/xorg-server/files/xorg-server.postinst')
-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