File: postinst

package info (click to toggle)
argus-client 2.0.2.alpha.9-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,364 kB
  • ctags: 4,946
  • sloc: ansic: 33,109; sh: 2,886; perl: 2,194; makefile: 559; yacc: 250; lex: 248; xml: 101
file content (11 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e
PACKAGE=argus-client

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