File: postinst

package info (click to toggle)
xconvers 0.8.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,164 kB
  • ctags: 930
  • sloc: ansic: 6,018; sh: 3,502; makefile: 319; yacc: 318
file content (8 lines) | stat: -rw-r--r-- 192 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

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