File: postinst

package info (click to toggle)
mgt 2.31-3
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 452 kB
  • ctags: 588
  • sloc: ansic: 4,862; sh: 423; pascal: 329; makefile: 123; csh: 3
file content (10 lines) | stat: -rw-r--r-- 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

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