summarylogtreecommitdiffstats
path: root/jdk7.install
diff options
context:
space:
mode:
authorDet2016-11-11 18:08:46 +0200
committerDet2016-11-11 18:08:46 +0200
commit0ebab09f595a5ee57395a863646b2fadbbc50f49 (patch)
treef5ee25d8cb21845a6bf2fb714950dc318b8b0ac0 /jdk7.install
parent62558588bf855a821d33897a963f011ad5adb5df (diff)
downloadaur-0ebab09f595a5ee57395a863646b2fadbbc50f49.tar.gz
Pacman hooks implemented since January (5.0.0): https://git.archlinux.org/pacman.git/tree/NEWS
Diffstat (limited to 'jdk7.install')
-rw-r--r--jdk7.install10
1 files changed, 0 insertions, 10 deletions
diff --git a/jdk7.install b/jdk7.install
index 36738ef33571..da91075d0c04 100644
--- a/jdk7.install
+++ b/jdk7.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
}