File: postinst

package info (click to toggle)
update 2.11-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 72 kB
  • ctags: 19
  • sloc: ansic: 127; makefile: 60; sh: 9
file content (7 lines) | stat: -rw-r--r-- 204 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh -e

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