aboutsummaryrefslogtreecommitdiff
path: root/network/leechcraft/doinst.sh
diff options
context:
space:
mode:
authorrexim <0xd34df00d@gmail.com>2010-05-13 01:00:05 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 01:00:05 +0200
commit110efb9bfd346d8959c2966334f04728f614a556 (patch)
treee5a197609e4bfa9c951604739d5a0d2b2f9528dc /network/leechcraft/doinst.sh
parent7ce202d67b258dff2b2d286c1b2e2f463675c965 (diff)
network/leechcraft: Added to 13.0 repository
Diffstat (limited to 'network/leechcraft/doinst.sh')
-rw-r--r--network/leechcraft/doinst.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/network/leechcraft/doinst.sh b/network/leechcraft/doinst.sh
new file mode 100644
index 0000000000000..cb1c14bc92a90
--- /dev/null
+++ b/network/leechcraft/doinst.sh
@@ -0,0 +1,22 @@
+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
+
+if [ -e usr/share/icons/Pevzi/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/Pevzi >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/icons/oxygen/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/oxygen >/dev/null 2>&1
+ fi
+fi
+