aboutsummaryrefslogtreecommitdiffstats
path: root/typora-bin/doinst.sh
blob: 9d5d66443b07b79671ab199cc77357baf760ee3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 -q usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

# Chromium's SUID sandbox helper must be setuid root.  Re-assert in case the
# package did not preserve the 4755 bit.  The versioned path is appended by
# the SlackBuild, so it cannot go stale on a version bump.