summarylogtreecommitdiffstats
path: root/referencer.install
diff options
context:
space:
mode:
authorAskhat2015-09-02 20:45:29 +0600
committerAskhat2015-09-02 20:45:29 +0600
commit5f5b588ee094357b525f9777c6ba83752162740f (patch)
treee00f009e872728cd8eabd8bcc8af8f65fe6bde27 /referencer.install
downloadaur-5f5b588ee094357b525f9777c6ba83752162740f.tar.gz
Initial import
Diffstat (limited to 'referencer.install')
-rw-r--r--referencer.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/referencer.install b/referencer.install
new file mode 100644
index 000000000000..2c4d43fca785
--- /dev/null
+++ b/referencer.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-mime-database /usr/share/mime > /dev/null 2>&1
+ update-desktop-database -q
+ gtk-update-icon-cache /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*