File: postinst

package info (click to toggle)
tex4ht 19990804-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,384 kB
  • ctags: 799
  • sloc: ansic: 7,653; makefile: 116; sh: 24
file content (22 lines) | stat: -rw-r--r-- 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

# configuration (.env) files are located in /etc/texmf/tex4ht in Debian, but
# kpathsea will look in /usr/share/texmf/tex4ht etc, so set up links:
for F in htfcss.env tex4ht.env ; do
  ln -sf /etc/tex4ht/$F /usr/share/texmf/tex4ht/$F
  done

# a more trivial symlink, to simplify viewing the documentation:
cd /usr/doc/texmf/tex4ht
ln -sf mn.html index.html

if command -v texhash > /dev/null 2>&1 ; then
  texhash
  fi

if command -v install-docs >/dev/null 2>&1; then
  install-docs -i /usr/share/doc-base/tex4ht
  fi