1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
post_install() { install-info usr/share/info/xboard.info.gz usr/share/info/dir 2>/dev/null xdg-icon-resource forceupdate --theme hicolor &>/dev/null true } post_upgrade() { post_install } pre_remove() { install-info --delete usr/share/info/xboard.info.gz usr/share/info/dir 2>/dev/null xdg-icon-resource forceupdate --theme hicolor &>/dev/null true }