summaryrefslogtreecommitdiffstats
path: root/system/sunflower/doinst.sh
diff options
context:
space:
mode:
author Isaac Yu <isaacyu1@isaacyu1.com>2020-05-29 19:59:17 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-01 08:46:30 +0700
commitf5370e344bec464e39aa7f6171afcf1656531311 (patch)
tree15eccb6b013cc009d26d96fe2fd166f1ee0d5ac5 /system/sunflower/doinst.sh
parenteb91d00a4a47d21bd212a57f0ece1e02d4711a08 (diff)
downloadslackbuilds-f5370e344bec464e39aa7f6171afcf1656531311.tar.gz
slackbuilds-f5370e344bec464e39aa7f6171afcf1656531311.tar.xz
system/sunflower: Added (Twin-panel file manager)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/sunflower/doinst.sh')
-rw-r--r--system/sunflower/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/sunflower/doinst.sh b/system/sunflower/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/system/sunflower/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi