summaryrefslogtreecommitdiff
path: root/wurzel-xml/wurzel-xml
blob: 453ee4c97680369dd4c109ec879e27320abb5c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

_refresh() {
  TEXMFLOCAL="$(texconfig conf | grep TEXMFLOCAL | cut -f2 -d'=' | sed 's|^.*:||')"
  echo "Rebuilding tex filename database"
  texhash --quiet "${TEXMFLOCAL}"
}

post_install() {
  _refresh "$@"
}

post_upgrade() {
  _refresh "$@"
}

post_remove() {
  _refresh "$@"
}