File: postinst

package info (click to toggle)
tclex 1.2a1-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 552 kB
  • ctags: 436
  • sloc: ansic: 3,772; tcl: 452; sh: 85; makefile: 83; lex: 48
file content (10 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/tclex -a -d /usr/share/doc/tclex ]; then
		ln -sf ../share/doc/tclex /usr/doc/tclex
	fi
	if command -v install-docs > /dev/null 2>&1; then
		install-docs -i /usr/share/doc-base/tclex-manual
	fi
fi