File: postinst

package info (click to toggle)
gc 1.07-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 64 kB
  • ctags: 14
  • sloc: ansic: 161; makefile: 40; sh: 8
file content (6 lines) | stat: -rw-r--r-- 159 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/gc -a -d /usr/share/doc/gc ]; then
		ln -sf ../share/doc/gc /usr/doc/gc
	fi
fi