File: postinst

package info (click to toggle)
twlog 1.2-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 276 kB
  • ctags: 171
  • sloc: ansic: 1,246; makefile: 91; sh: 8
file content (6 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/bin/sh -e
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/twlog -a -d /usr/share/doc/twlog ]; then
		ln -sf ../share/doc/twlog /usr/doc/twlog
	fi
fi