diff options
author | Vijay Marcel | 2022-11-20 03:07:28 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2022-11-20 03:07:28 +0100 |
commit | 9fffb105035dd064c7f87111e994d943933c8ecc (patch) | |
tree | d9481351e4d5478925fe733a103718734423a119 /network/hakuneko/doinst.sh | |
parent | 45b32937b9e01f70e04857d191110e3f19495289 (diff) | |
download | slackbuilds-9fffb105035dd064c7f87111e994d943933c8ecc.tar.gz |
network/hakuneko: Added (Manga and Anime Downloader).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/hakuneko/doinst.sh')
-rw-r--r-- | network/hakuneko/doinst.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/hakuneko/doinst.sh b/network/hakuneko/doinst.sh new file mode 100644 index 0000000000..5b35a0a29e --- /dev/null +++ b/network/hakuneko/doinst.sh @@ -0,0 +1,14 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +# If other icon themes are installed, then add to/modify this as needed +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 |