summarylogtreecommitdiffstats
path: root/astah-community.install
diff options
context:
space:
mode:
Diffstat (limited to 'astah-community.install')
-rw-r--r--astah-community.install15
1 files changed, 11 insertions, 4 deletions
diff --git a/astah-community.install b/astah-community.install
index 4de4c2fd41af..60ea1b45737d 100644
--- a/astah-community.install
+++ b/astah-community.install
@@ -1,14 +1,21 @@
-post_install() {
+data_updates() {
update-desktop-database /usr/share/applications
update-mime-database /usr/share/mime
gtk-update-icon-cache -t /usr/share/icons/
}
+post_install() {
+ data_updates
+ echo
+ echo '==> Run the following command, as root, to set the system java version:'
+ echo '==> # archlinux-java set java-8-openjdk/jre'
+ echo
+}
+
post_upgrade() {
- post_install
+ post_install $1
}
post_remove() {
- post_install
+ data_updates
}
-