File: postinst

package info (click to toggle)
dog 1.7-3.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 152 kB
  • ctags: 204
  • sloc: ansic: 2,103; makefile: 55; sh: 11
file content (10 lines) | stat: -rw-r--r-- 180 bytes parent folder | download | duplicates (2)
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/dog -a -d /usr/share/doc/dog ]; then
    ln -sf ../share/doc/dog /usr/doc/dog
  fi
fi

exit 0