summarylogtreecommitdiffstats
path: root/parallel-launcher.install
blob: c4b902c5c7f88d53b9161db42bab0ce52144f056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
	xdg-mime install /usr/share/parallel-launcher/bps-mime.xml
	xdg-mime default ca.parallel_launcher.ParallelLauncher.desktop x-scheme-handler/rhdc
	update-desktop-database /usr/share/applications
}

pre_remove() {
	xdg-mime uninstall /usr/share/parallel-launcher/bps-mime.xml
}

post_upgrade() {
	rm -f /etc/flatpak/installations.d/parallel-launcher.conf
}