summaryrefslogtreecommitdiff
path: root/testing/asymptote/texlive.install
blob: a7e61f209db3425541d4a863dfae0159ae166e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
info_dir=usr/share/info

post_install() {
  install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir
  echo ">>> updating the filename database for texlive..."
  mktexlsr --quiet usr/share/texmf
}

post_upgrade() {
  post_install
}

pre_remove() {
  install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir
}

post_remove() {
  echo ">>> updating the filename database for texlive..."
  mktexlsr --quiet usr/share/texmf
}