File: postinst

package info (click to toggle)
python-oss 0.0.0.20010624-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 388 kB
  • ctags: 206
  • sloc: ansic: 1,351; makefile: 63; sh: 14; python: 8
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

PACKAGE=python-oss

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