post-install 280 B

123456789101112
  1. # Make default symlink for xinitrc-twm if 'xinitrc' does not exist,
  2. # or if 'xinitrc' is a dangling symlink
  3. if test ! -e etc/X11/xinit/xinitrc || {
  4. test -L etc/X11/xinit/xinitrc && test ! -e etc/X11/xinit/xinitrc
  5. }
  6. then
  7. cd etc/X11/xinit && ln -sf xinitrc-twm xinitrc
  8. fi