File: postinst

package info (click to toggle)
nec 2-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,444 kB
  • ctags: 3,102
  • sloc: fortran: 16,377; makefile: 126; sh: 10
file content (13 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# post install script for Debian GNU/Linux nec package

set -e 

## Handle the old FSSND style documentation change over

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