summaryrefslogtreecommitdiffstats
path: root/system/filerunner/doinst.sh
blob: f05aaf46fc9d262db22a8fa4f78f970928785887 (plain)
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 usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

# If there's no fr link, take over:
if [ ! -r usr/bin/fr ]; then
  ( cd usr/bin ; ln -sf filerunner fr )
fi