summarylogtreecommitdiffstats
path: root/netbeans-javase.install
diff options
context:
space:
mode:
authorXavion2015-11-11 12:09:48 +1100
committerXavion2015-11-11 12:09:48 +1100
commit86f84d79cad8a8b8a8191f186ff335d1b2662417 (patch)
tree46422f0c7cd136eaf140da4d93b6e2f7afb152f4 /netbeans-javase.install
parentb560009eecd918b5af5ba5eea72bb366331512da (diff)
downloadaur-86f84d79cad8a8b8a8191f186ff335d1b2662417.tar.gz
Update to 8.1-1
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: