diff options
Diffstat (limited to 'system/vice/doinst.sh')
-rw-r--r-- | system/vice/doinst.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/system/vice/doinst.sh b/system/vice/doinst.sh index 2dde7a5cb4bc3..010d680f5861e 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 |