summarylogtreecommitdiffstats
path: root/panoply.install
diff options
context:
space:
mode:
authorJoseph Fox-Rabinovitz2015-07-01 16:13:43 -0400
committerJoseph Fox-Rabinovitz2015-07-01 16:13:43 -0400
commit485385dec69c7a65e2fa84f314a84fba57f85c5b (patch)
tree5b2adb4025cced5b32676b74eaea5b0a2e710fe3 /panoply.install
parent24eae357589832f804c194ac1cc2d0b80c8f8cec (diff)
downloadaur-485385dec69c7a65e2fa84f314a84fba57f85c5b.tar.gz
Updated icons from Windows version
Diffstat (limited to 'panoply.install')
-rw-r--r--panoply.install9
1 files changed, 7 insertions, 2 deletions
diff --git a/panoply.install b/panoply.install
index e5514e0003dc..6702ed25868e 100644
--- a/panoply.install
+++ b/panoply.install
@@ -1,6 +1,11 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
+ if [ -x /usr/bin/xdg-icon-resource ] ; then
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ fi
+
+ if [ -x update-desktop-database ] ; then
+ update-desktop-database -q
+ fi
}
post_upgrade() {