diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2024-08-21 21:24:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-22 06:22:32 +0700 |
commit | 095cd045fc63a91ad502a715d9ba522137603bec (patch) | |
tree | 48297ded89d0874cc9bcde15d07368ddaa08fd34 /desktop/ClamAV-GUI/doinst.sh | |
parent | 6757d956a996841501efaf8a62539b91e1e19d93 (diff) |
desktop/ClamAV-GUI: Added (ClamAV GUI).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/ClamAV-GUI/doinst.sh')
-rw-r--r-- | desktop/ClamAV-GUI/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/ClamAV-GUI/doinst.sh b/desktop/ClamAV-GUI/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/desktop/ClamAV-GUI/doinst.sh @@ -0,0 +1,13 @@ +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 [ -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 |