File: postinst

package info (click to toggle)
py-xmlrpc 0.8.7-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 340 kB
  • ctags: 506
  • sloc: ansic: 5,321; python: 660; makefile: 102; sh: 14
file content (11 lines) | stat: -rw-r--r-- 223 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

PACKAGE=python-xmlrpc

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