aur/linuxqq.install
2022-12-07 22:17:59 +08:00

20 lines
430 B
Text

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
}