Pacman hooks implemented since January (5.0.0): https://git.archlinux.org/pacman.git/tree/NEWS

This commit is contained in:
Det 2016-11-11 18:07:50 +02:00
parent d13675c832
commit 33d2798501

View file

@ -12,16 +12,7 @@ bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)" blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)" yellow="${bold}$(tput setaf 3)"
_update() {
msg_blue "Updating desktop MIME database..."
update-desktop-database -q
msg_blue "Updating icon cache.."
xdg-icon-resource forceupdate --theme hicolor &>/dev/null
}
post_install() { post_install() {
_update
note "Custom flags should be put directly in: ~/.config/chrome-dev-flags.conf" note "Custom flags should be put directly in: ~/.config/chrome-dev-flags.conf"
note "The launcher is called: 'google-chrome-unstable'" note "The launcher is called: 'google-chrome-unstable'"
} }
@ -29,7 +20,3 @@ post_install() {
post_upgrade() { post_upgrade() {
post_install post_install
} }
post_remove() {
_update
}