diff options
author | Det | 2016-11-11 18:08:37 +0200 |
---|---|---|
committer | Det | 2016-11-11 18:08:37 +0200 |
commit | 09029ee01f4763e829b7c1d65e3612e5ba5a8181 (patch) | |
tree | b70f7ed152abc5fe9bd6d271a139902aada9223d | |
parent | b9d088a01df9ffbd0eba191e3e443dd96764d634 (diff) | |
download | aur-09029ee01f4763e829b7c1d65e3612e5ba5a8181.tar.gz |
Pacman hooks implemented since January (5.0.0): https://git.archlinux.org/pacman.git/tree/NEWS
-rw-r--r-- | jdk.install | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/jdk.install b/jdk.install index 2ccdf7faa13d..fa8e3bbf8171 100644 --- a/jdk.install +++ b/jdk.install @@ -10,12 +10,6 @@ note() { printf "${blue}::${yellow} archlinux-java:${bold} $1${all_off}\n" } -update_desktop() { - update-desktop-database -q - update-mime-database /usr/share/mime >/dev/null - xdg-icon-resource forceupdate &>/dev/null -} - post_install() { default=$(archlinux-java get) case ${default} in @@ -38,8 +32,6 @@ post_install() { if [[ ! -f /etc/ssl/certs/java/cacerts ]]; then update-ca-trust fi - - update_desktop } post_upgrade() { @@ -66,6 +58,4 @@ post_remove() { note "Java environment unset." fi fi - - update_desktop } |