summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xorg-fonts-encodings/xorg-fonts-encodings.install
blob: 37eac401a4e10a83c1d144e3be743d1d3e83d667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# arg 1:  the new package version
post_install() {
  echo -n "Regenerating font encodings... "
  pushd usr/share/fonts/encodings &>/dev/null
  mkfontscale -n -e "/usr/share/fonts/encodings" -e "/usr/share/fonts/encodings/large"
  popd &>/dev/null
  echo "done."
}

post_upgrade() {
  post_install
}

op=$1
shift
$op $*