File: postinst

package info (click to toggle)
ratfor 1.0-7
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 120 kB
  • ctags: 305
  • sloc: ansic: 1,797; makefile: 78; sh: 12
file content (9 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
 if [ -d /usr/doc -a ! -e /usr/doc/xnecview \
          -a -d /usr/share/doc/ratfor ]; then
  ln -sf ../share/doc/ratfor /usr/doc/ratfor
 fi
fi