summarylogtreecommitdiffstats
path: root/electron-cash-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'electron-cash-git.install')
-rw-r--r--electron-cash-git.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/electron-cash-git.install b/electron-cash-git.install
new file mode 100644
index 000000000000..c14de3d340f8
--- /dev/null
+++ b/electron-cash-git.install
@@ -0,0 +1,23 @@
+post_install() {
+ if [[ -x /usr/bin/update-desktop-database ]]; then
+ update-desktop-database -q
+ fi
+
+ if [[ -x /usr/bin/xdg-icon-resource ]]; then
+ xdg-icon-resource forceupdate --theme hicolor
+ fi
+
+ if [[ -x /usr/bin/gtk-update-icon-cache ]]; then
+ gtk-update-icon-cache -f -q /usr/share/icons/hicolor
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: