File: postinst

package info (click to toggle)
quinn-diff 0.60
  • links: PTS
  • area: main
  • in suites: woody
  • size: 596 kB
  • ctags: 230
  • sloc: ansic: 2,170; sh: 618; makefile: 75
file content (11 lines) | stat: -rw-r--r-- 233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh 

set -e

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