summarylogtreecommitdiffstats
path: root/freeoffice.install
diff options
context:
space:
mode:
Diffstat (limited to 'freeoffice.install')
-rw-r--r--freeoffice.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/freeoffice.install b/freeoffice.install
new file mode 100644
index 000000000000..a799cc67c442
--- /dev/null
+++ b/freeoffice.install
@@ -0,0 +1,19 @@
+do_update() {
+ update-mime-database /usr/share/mime > /dev/null
+ gtk-update-icon-cache -f -q /usr/share/icons/hicolor/
+ update-desktop-database -q
+}
+
+post_install() {
+ do_update
+ echo 'To obtain a valid free serial number please visit'
+ echo 'http://www.freeoffice.com/en/download'
+}
+
+post_upgrade() {
+ do_update
+}
+
+post_remove() {
+ do_update
+}