aboutsummaryrefslogtreecommitdiff
path: root/desktop/ClamAV-GUI/doinst.sh
diff options
context:
space:
mode:
authorAntonio Leal <antonioleal@yahoo.com>2024-08-21 21:24:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-22 06:22:32 +0700
commit095cd045fc63a91ad502a715d9ba522137603bec (patch)
tree48297ded89d0874cc9bcde15d07368ddaa08fd34 /desktop/ClamAV-GUI/doinst.sh
parent6757d956a996841501efaf8a62539b91e1e19d93 (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.sh13
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