summaryrefslogtreecommitdiff
path: root/community/djview4/install
diff options
context:
space:
mode:
Diffstat (limited to 'community/djview4/install')
-rw-r--r--community/djview4/install4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/djview4/install b/community/djview4/install
index e70c054ec..f2bd04ceb 100644
--- a/community/djview4/install
+++ b/community/djview4/install
@@ -1,5 +1,7 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ if type xdg-icon-resource &>/dev/null; then
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ fi
}
post_upgrade() {