aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wrapper/pkg-install
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2005-03-15 14:12:06 +0800
committertrevor <trevor@FreeBSD.org>2005-03-15 14:12:06 +0800
commite18c9e8890fd5f0e1298b235652253c38940d7dc (patch)
treee520affe487e5b238a61d5e069ffff190904288e /x11/wrapper/pkg-install
parent1555fd29b9cef2c386078f98b332f6884c79276d (diff)
downloadfreebsd-ports-gnome-e18c9e8890fd5f0e1298b235652253c38940d7dc.tar.gz
freebsd-ports-gnome-e18c9e8890fd5f0e1298b235652253c38940d7dc.tar.zst
freebsd-ports-gnome-e18c9e8890fd5f0e1298b235652253c38940d7dc.zip
Add x.org support.
Submitted by: Davide D'Amico
Diffstat (limited to 'x11/wrapper/pkg-install')
-rw-r--r--x11/wrapper/pkg-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/wrapper/pkg-install b/x11/wrapper/pkg-install
index 909a394f7307..cf0221c49627 100644
--- a/x11/wrapper/pkg-install
+++ b/x11/wrapper/pkg-install
@@ -5,6 +5,7 @@ if [ "X$2" != "XPOST-INSTALL" ]; then
fi
[ -e ${PKG_PREFIX}/bin/X ] && mv ${PKG_PREFIX}/bin/X ${PKG_PREFIX}/bin/X.bck
-ln -sf ${PKG_PREFIX}/bin/Xwrapper-4 ${PKG_PREFIX}/bin/X
+ln -sf ${PKG_PREFIX}/bin/Xwrapper ${PKG_PREFIX}/bin/X
[ -x ${PKG_PREFIX}/bin/XFree86 ] && chmod -s ${PKG_PREFIX}/bin/XFree86
-chmod u+s ${PKG_PREFIX}/bin/Xwrapper-4
+[ -x ${PKG_PREFIX}/bin/Xorg ] && chmod -s ${PKG_PREFIX}/bin/Xorg
+chmod u+s ${PKG_PREFIX}/bin/Xwrapper