summarylogtreecommitdiffstats
path: root/surfshark-gui-bin.install
blob: d6d13c2059819a7f2d1e4c1c699cd26cec87e72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
	update-mime-database /usr/share/mime || true
	update-desktop-database -q
	echo -e "\nPlease start the surfshark service by running the following commands:"
	echo -e "  sudo systemctl daemon-reload" 
	echo -e "  sudo systemctl enable surfsharkd2.service && sudo systemctl start surfsharkd2.service\n"
}

post_upgrade() {
	post_install
}

post_remove() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
	update-desktop-database -q
}