summaryrefslogblamecommitdiff
path: root/x11/wrapper/pkg-install
blob: 3bbe62675378f71ce04bd623808f87f077b1582d (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                          
                                                                           
                                        
#!/bin/sh

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