summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDet2016-11-11 18:09:09 +0200
committerDet2016-11-11 18:09:09 +0200
commitbb07ecc3e8e890bcc7e5f43d95e0cb9d2f9e13cd (patch)
tree032c6e5861116ebf04f9f60273a3a2ff058b3835
parent646367f19cbee06a2192aed93c68b4f5e29144d9 (diff)
downloadaur-bb07ecc3e8e890bcc7e5f43d95e0cb9d2f9e13cd.tar.gz
Pacman hooks implemented since January (5.0.0): https://git.archlinux.org/pacman.git/tree/NEWS
-rw-r--r--jre.install10
1 files changed, 0 insertions, 10 deletions
diff --git a/jre.install b/jre.install
index 144c80d240c..0d0957a329c 100644
--- a/jre.install
+++ b/jre.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
}