aboutsummaryrefslogtreecommitdiff
path: root/desktop/razorqt/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2011-12-20 09:27:24 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-12-22 00:02:52 -0600
commitc5ee6ec05fe53d5dc6fa0aff27044329f9f88f1a (patch)
treec2b9caf013a28820ce45b4e1d9701d753719afbe /desktop/razorqt/doinst.sh
parent48b4a977160c8e3cea7a7f8e72fd4aceda433a13 (diff)
desktop/razorqt: Added (qt-based desktop environment)
Note that if anyone else out there likes this and uses it on a daily basis, I'll be more than happy to let you maintain this build script. I don't plan to actually use razorqt (I like xfce), but this looked too useful to not have available in Slackware --rworkman Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'desktop/razorqt/doinst.sh')
-rw-r--r--desktop/razorqt/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/razorqt/doinst.sh b/desktop/razorqt/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/desktop/razorqt/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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