File: postinst

package info (click to toggle)
mpack 1.5-7woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 756 kB
  • ctags: 1,261
  • sloc: ansic: 10,931; makefile: 113; perl: 25; sh: 10
file content (9 lines) | stat: -rw-r--r-- 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    if [ -d /usr/doc -a ! -e /usr/doc/mpack -a -d /usr/share/doc/mpack ]; then
        ln -sf ../share/doc/mpack /usr/doc/mpack
    fi
fi