summaryrefslogtreecommitdiffstats
path: root/system/vice/doinst.sh
diff options
context:
space:
mode:
author B. Watson2021-08-19 12:18:11 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:51:32 +0200
commit1e6834720224221d30643cb6e2db904000ddc4bb (patch)
tree886f5532b5b58ed8c510701318f916947566738c /system/vice/doinst.sh
parent0d128013467d51a93144efdd3f1c70132d113b6b (diff)
downloadslackbuilds-1e6834720224221d30643cb6e2db904000ddc4bb.tar.gz
system/vice: Updated for version 3.5.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vice/doinst.sh')
-rw-r--r--system/vice/doinst.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/vice/doinst.sh b/system/vice/doinst.sh
index 2dde7a5cb4..010d680f58 100644
--- a/system/vice/doinst.sh
+++ b/system/vice/doinst.sh
@@ -1,15 +1,11 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/xdg-desktop-menu ]; then
+ /usr/bin/xdg-desktop-menu install \
+ usr/share/desktop-directories/vice-org-vice-org.directory \
+ usr/share/applications/vice-org-*.desktop
fi
-if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
- )
-fi
-if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/vice.info.gz