aboutsummaryrefslogtreecommitdiff
path: root/graphics/viewnior/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-03-04 18:08:44 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 14:06:33 +0700
commit7e7c72981c937a323644bec8fe19d07b5f6d26e2 (patch)
treec738885b64f645fec213959feccdc929d0bd6d48 /graphics/viewnior/doinst.sh
parent238c1dbc18585ac5922af735509c8d2d000aa813 (diff)
graphics/viewnior: New maintainer, minor fix.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/viewnior/doinst.sh')
-rw-r--r--graphics/viewnior/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/viewnior/doinst.sh b/graphics/viewnior/doinst.sh
index 65c7e2eeb9aa5..625ced33d11f1 100644
--- a/graphics/viewnior/doinst.sh
+++ b/graphics/viewnior/doinst.sh
@@ -1,9 +1,9 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/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
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi