summaryrefslogtreecommitdiffstats
path: root/system/unetbootin/doinst.sh
diff options
context:
space:
mode:
author Jens Weber <jens@tuxane.com>2012-02-12 17:17:18 -0600
committer Niels Horn <niels.horn@slackbuilds.org>2012-02-18 09:12:29 -0200
commit3a39822712240010fd4bb25ccbf58c06117cad73 (patch)
tree9102781e4d346c9bb14046db93a7166fd067d8f2 /system/unetbootin/doinst.sh
parente0f08eb4d803cd4f2cddfea23ef5cc63fe8feee8 (diff)
downloadslackbuilds-3a39822712240010fd4bb25ccbf58c06117cad73.tar.gz
slackbuilds-3a39822712240010fd4bb25ccbf58c06117cad73.tar.xz
system/unetbootin: Added (create bootable Live USB drives)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/unetbootin/doinst.sh')
-rw-r--r--system/unetbootin/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/unetbootin/doinst.sh b/system/unetbootin/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/unetbootin/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