summaryrefslogtreecommitdiff
path: root/community/java-oracle/jdk.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/java-oracle/jdk.install')
-rw-r--r--community/java-oracle/jdk.install11
1 files changed, 10 insertions, 1 deletions
diff --git a/community/java-oracle/jdk.install b/community/java-oracle/jdk.install
index abe08b6a0..0d96b6572 100644
--- a/community/java-oracle/jdk.install
+++ b/community/java-oracle/jdk.install
@@ -1,7 +1,16 @@
post_install() {
+ update-desktop-database -q
echo "The jdk package is licensed software."
echo "You MUST read and agree to the license stored in"
- echo "/opt/java/LICENSE before using it."
+ echo "/usr/share/licenses/jdk/LICENSE before using it."
echo 'Please relogin to include jdk in your PATH'
}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}