mirror of
https://github.com/archlinux/aur.git
synced 2026-02-15 13:02:08 +01:00
20 lines
341 B
Text
20 lines
341 B
Text
available() {
|
|
which "$1" >/dev/null 2>&1
|
|
}
|
|
|
|
post_install() {
|
|
update-mime-database /usr/share/mime >/dev/null
|
|
update-desktop-database -q /usr/share/applications
|
|
|
|
if available gtk-update-icon-cache; then
|
|
gtk-update-icon-cache -q /usr/share/icons/hicolor
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
post_install
|
|
}
|