aboutsummaryrefslogtreecommitdiff
path: root/desktop/faba-icon-theme/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2020-03-01 08:01:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-01 08:01:23 +0700
commit4bc8cfe990a7492a11eda4a53ccf315211b0331f (patch)
tree2d63a8178d87fe59aeae5ed16e12075d04d69c34 /desktop/faba-icon-theme/doinst.sh
parent062739761cbe97106fb60d54fabfc79455f61aab (diff)
desktop/faba-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/faba-icon-theme/doinst.sh')
-rw-r--r--desktop/faba-icon-theme/doinst.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/desktop/faba-icon-theme/doinst.sh b/desktop/faba-icon-theme/doinst.sh
index aea0f894eb32..dc2831290424 100644
--- a/desktop/faba-icon-theme/doinst.sh
+++ b/desktop/faba-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/Faba/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/Faba >/dev/null 2>&1
fi
fi