summarylogtreecommitdiffstats
path: root/linuxqq.install
blob: 320bdf42775da733ea771d8fab09aa8d77b79135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

	# SUID chrome-sandbox for Electron 5+
	chmod 4755 '/opt/QQ/chrome-sandbox' || true

	update-mime-database /usr/share/mime || true
	update-desktop-database /usr/share/applications || true
	update-desktop-database -q
}

post_upgrade() {
	post_install
}

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

	update-desktop-database -q
}