summarylogtreecommitdiffstats
path: root/mathematica-09.install
diff options
context:
space:
mode:
Diffstat (limited to 'mathematica-09.install')
-rw-r--r--mathematica-09.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/mathematica-09.install b/mathematica-09.install
new file mode 100644
index 000000000000..cff754557371
--- /dev/null
+++ b/mathematica-09.install
@@ -0,0 +1,15 @@
+pkgname=mathematica-9
+
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+ update-mime-database usr/share/mime &>/dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}