File: postinst

package info (click to toggle)
junior-art 1.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 28 kB
  • ctags: 4
  • sloc: makefile: 30; sh: 15
file content (12 lines) | stat: -rw-r--r-- 240 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

package=junior-art

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