slackbuilds_ponce/system/filerunner/doinst.sh
B. Watson e8104c1aab
system/filerunner: Added (two-pane graphical file manager)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-06-28 08:16:54 +07:00

14 lines
428 B
Bash

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 there's no fr link, take over:
if [ ! -r usr/bin/fr ]; then
( cd usr/bin ; ln -sf filerunner fr )
fi