1 2 3 4 5 6 7 8 9
post_install() { xdg-mime install /usr/share/parallel-launcher/bps-mime.xml xdg-mime default parallel-launcher.desktop x-scheme-handler/rhdc update-desktop-database /usr/share/applications } pre_remove() { xdg-mime uninstall /usr/share/parallel-launcher/bps-mime.xml }