diff options
Diffstat (limited to 'x11/wrapper/pkg-install')
-rw-r--r-- | x11/wrapper/pkg-install | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/wrapper/pkg-install b/x11/wrapper/pkg-install index 3bbe62675378..a31ebc58082c 100644 --- a/x11/wrapper/pkg-install +++ b/x11/wrapper/pkg-install @@ -4,6 +4,7 @@ if [ "X$2" != "XPOST-INSTALL" ]; then exit 0 fi -/bin/ln -sf ${PKG_PREFIX}/bin/Xwrapper ${PKG_PREFIX}/bin/X -[ -x ${PKG_PREFIX}/bin/XFree86 ] && /bin/chmod -s ${PKG_PREFIX}/bin/XFree86 -/bin/chmod +s ${PKG_PREFIX}/bin/Xwrapper +[ -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 +[ -x ${PKG_PREFIX}/bin/XFree86 ] && chmod -s ${PKG_PREFIX}/bin/XFree86 +chmod +s ${PKG_PREFIX}/bin/Xwrapper-4 |