mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
11 lines
307 B
Bash
11 lines
307 B
Bash
#!/bin/sh
|
|
|
|
if [ "X$2" != "XPOST-INSTALL" ]; then
|
|
exit 0
|
|
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
|
|
[ -x ${PKG_PREFIX}/bin/XFree86 ] && chmod -s ${PKG_PREFIX}/bin/XFree86
|
|
chmod u+s ${PKG_PREFIX}/bin/Xwrapper-4
|