aboutsummaryrefslogtreecommitdiff
path: root/libraries/libftdi1/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-15 16:32:19 +0700
committerErik Hanson <erik@slackbuilds.org>2014-06-18 16:18:59 -0500
commit5e6fa3c0e2cb6188c9fabd87f0a13e66aac2d439 (patch)
treed90b80ea73fdcd407182d6d8335cd410c773addf /libraries/libftdi1/doinst.sh
parent7419528d6e426ad405f0a5fee777b45a96035e5d (diff)
libraries/libftdi1: Added (A library to talk to FTDI chips).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libftdi1/doinst.sh')
-rw-r--r--libraries/libftdi1/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/libftdi1/doinst.sh b/libraries/libftdi1/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/libraries/libftdi1/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