File: postinst

package info (click to toggle)
netcdf-perl 1.2.1-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 288 kB
  • ctags: 6
  • sloc: perl: 351; makefile: 165; sh: 9
file content (7 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh -e

if [ "$1" = configure ]; then
    pkg=netcdf-perl
    if test -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg; then
	ln -sf ../share/doc/$pkg /usr/doc/$pkg; fi
fi