summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/doinst.sh
diff options
context:
space:
mode:
authorBen <bosth@alumni.sfu.ca>2010-05-13 00:28:03 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:28:03 +0200
commit6313a99db01825bebb99525565ac6fae5e3b12e4 (patch)
tree4d53efe5bf774aba4894582ce6694ef904f7f022 /graphics/kphotoalbum/doinst.sh
parent3db1ea440a61bb6db6013c34a9aa360bce4d005a (diff)
downloadslackbuilds-6313a99db01825bebb99525565ac6fae5e3b12e4.tar.gz
graphics/kphotoalbum: Updated for version 4.1.1
Diffstat (limited to 'graphics/kphotoalbum/doinst.sh')
-rw-r--r--graphics/kphotoalbum/doinst.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/kphotoalbum/doinst.sh b/graphics/kphotoalbum/doinst.sh
index 854e20633d..5934a15ab1 100644
--- a/graphics/kphotoalbum/doinst.sh
+++ b/graphics/kphotoalbum/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi