summaryrefslogblamecommitdiffstats
path: root/source/x/x11/post-install/xinit.post-install
blob: 818764eca46e4b068ba3a55d443926143e0bb006 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                          
mkdir -p $PKG/etc/X11
( cd $PKG/usr/lib/X11
  mv xinit $PKG/etc/X11
  ln -sf ../../../etc/X11/xinit .
)
cp -a $CWD/post-install/xinit/README.Xmodmap $PKG/etc/X11/xinit
chown root:root $PKG/etc/X11/xinit/README.Xmodmap
chmod 644 $PKG/etc/X11/xinit/README.Xmodmap

# This should be selected by xwmconfig, and should not be included in the
# package at all.  Since this was included in the older package (and not
# as "new") upgrading this will erase your xinitrc, and you'll have to
# run xwmconfig again.  Sorry about that, but it's better than having your
# xinitrc overwritten with the TWM version...

rm -f $PKG/etc/X11/xinit/xinitrc