summaryrefslogtreecommitdiff
path: root/pcr/retext/retext.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-01 10:48:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-01 10:48:59 -0500
commitb5ba1388217fb7d5cace3e36da1be9de4202be0d (patch)
treed14b6a9691cb80acd9f50b701674e3bba2825311 /pcr/retext/retext.install
parent6f566757e0cb44ac339967209685c1d0cb11d18a (diff)
retext: add new package to [pcr]
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: