File: postinst

package info (click to toggle)
pcre2 2.08-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 864 kB
  • ctags: 423
  • sloc: ansic: 4,504; makefile: 164; perl: 103; sh: 96
file content (14 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

package=PACKAGE

case "$1" in
    configure)

	# Create /usr/doc symlink
        if [ -d /usr/doc -a ! -e /usr/doc/$package ]; then
            ln -sf ../share/doc/$package /usr/doc/$package
        fi

	;;
esac