aboutsummaryrefslogtreecommitdiff
path: root/desktop/moka-icon-theme/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2020-03-01 08:01:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-01 08:01:52 +0700
commited53cc8feae51641b48ff0472514680ae339b71e (patch)
tree35ec0bbb0495fdfe34727923ee5a424dc514d63b /desktop/moka-icon-theme/doinst.sh
parent4bc8cfe990a7492a11eda4a53ccf315211b0331f (diff)
desktop/moka-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/moka-icon-theme/doinst.sh')
-rw-r--r--desktop/moka-icon-theme/doinst.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/desktop/moka-icon-theme/doinst.sh b/desktop/moka-icon-theme/doinst.sh
index aea0f894eb32b..40edc52593f5d 100644
--- a/desktop/moka-icon-theme/doinst.sh
+++ b/desktop/moka-icon-theme/doinst.sh
@@ -1,13 +1,5 @@
-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 [ -e usr/share/icons/Moka/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
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/Moka >/dev/null 2>&1
fi
fi