summarylogtreecommitdiffstats
path: root/smartgit.install
diff options
context:
space:
mode:
authorAlexey Stukalov2015-06-08 18:37:55 +0200
committerAlexey Stukalov2015-06-08 18:37:55 +0200
commitc8e635fee4691fd927618e0f8b4a6a2b3ccb2865 (patch)
tree9fc06a7b9f9e07fef7b856cec67f6c43d509cd86 /smartgit.install
downloadaur-c8e635fee4691fd927618e0f8b4a6a2b3ccb2865.tar.gz
Initial commit (v6.5.8)
Diffstat (limited to 'smartgit.install')
-rw-r--r--smartgit.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/smartgit.install b/smartgit.install
new file mode 100644
index 000000000000..254471508dbe
--- /dev/null
+++ b/smartgit.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "update desktop mime database..."
+ update-desktop-database
+ gtk-update-icon-cache -f /usr/share/icons/hicolor/
+}
+
+post_upgrade() {
+ gtk-update-icon-cache -f /usr/share/icons/hicolor/
+}
+
+post_remove() {
+ echo "update desktop mime database..."
+ update-desktop-database
+ gtk-update-icon-cache -f /usr/share/icons/hicolor/
+}
+