post-install 446 B

123456789101112131415
  1. echo "Updating desktop database: update-desktop-database -q usr/share/applications"
  2. chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications
  3. # Make default symlink for xinitrc-icewm if 'xinitrc' does not exist,
  4. # or if 'xinitrc' is a dangling symlink
  5. if test ! -e etc/X11/xinit/xinitrc || {
  6. test -L etc/X11/xinit/xinitrc && test ! -e etc/X11/xinit/xinitrc
  7. }
  8. then
  9. cd etc/X11/xinit && ln -sf xinitrc-icewm xinitrc
  10. fi