summaryrefslogtreecommitdiffstats
path: root/system/vice/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/vice/doinst.sh')
-rw-r--r--system/vice/doinst.sh18
1 files changed, 8 insertions, 10 deletions
diff --git a/system/vice/doinst.sh b/system/vice/doinst.sh
index 2dde7a5cb4..4079257f08 100644
--- a/system/vice/doinst.sh
+++ b/system/vice/doinst.sh
@@ -1,15 +1,13 @@
+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/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
- )
+if [ -x /usr/bin/install-info -a -e usr/info/vice.info.gz ]; then
+ /usr/bin/install-info usr/info/vice.info.gz usr/info/dir
fi
-if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
-fi
-
-chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/vice.info.gz