aboutsummaryrefslogtreecommitdiff
path: root/desktop/cairo-compmgr/doinst.sh
diff options
context:
space:
mode:
authorGeoff Ritter <geoff dot ritter at gmail dot com>2011-01-01 00:16:02 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-02 00:24:55 -0600
commite183c644c248f813c3eed38c9b960e7f6f3f4a01 (patch)
treea3bd419266cb6a8613c3f022b1405a5caf365969 /desktop/cairo-compmgr/doinst.sh
parentcbe3aeb7546079f272faaff3bfda668bc635d958 (diff)
desktop/cairo-compmgr: Added (drop-in replacement for xcompmgr)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/cairo-compmgr/doinst.sh')
-rw-r--r--desktop/cairo-compmgr/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/cairo-compmgr/doinst.sh b/desktop/cairo-compmgr/doinst.sh
new file mode 100644
index 000000000000..9830478e8cc7
--- /dev/null
+++ b/desktop/cairo-compmgr/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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
+