summaryrefslogtreecommitdiff
path: root/pcr/retext/retext.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/retext/retext.install')
-rw-r--r--pcr/retext/retext.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/retext/retext.install b/pcr/retext/retext.install
new file mode 100644
index 000000000..d783a77c8
--- /dev/null
+++ b/pcr/retext/retext.install
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+ update-desktop-database -q
+ update-mime-database usr/share/mime &>/dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et: