summaryrefslogtreecommitdiff
path: root/community/java-oracle/jdk.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-09 23:14:31 +0000
committerroot <root@rshg054.dnsready.net>2011-08-09 23:14:31 +0000
commita306c2530354c1c02351c4cc02eefa53c8d23eac (patch)
tree85f473f0abb92a80a4a400a7c07eed79d83880bd /community/java-oracle/jdk.install
parent5135b52f901206bbb365152084e82e92c120e0be (diff)
Tue Aug 9 23:14:31 UTC 2011
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
+}