summarylogtreecommitdiffstats
path: root/netbeans-javase.install
diff options
context:
space:
mode:
Diffstat (limited to 'netbeans-javase.install')
-rw-r--r--netbeans-javase.install34
1 files changed, 5 insertions, 29 deletions
diff --git a/netbeans-javase.install b/netbeans-javase.install
index 02d923d63274..7398ae836dc3 100644
--- a/netbeans-javase.install
+++ b/netbeans-javase.install
@@ -1,37 +1,13 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- update-desktop-database >/dev/null 2>&1
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
update-desktop-database >/dev/null 2>&1
- /bin/true
}
-# arg 1: the old package version
-pre_remove() {
- /bin/true
+post_install() {
+ post_upgrade
}
-# arg 1: the old package version
post_remove() {
- update-desktop-database >/dev/null 2>&1
- /bin/true
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et: