File: postinst

package info (click to toggle)
dstooltk 2.0-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,520 kB
  • ctags: 3,169
  • sloc: ansic: 27,185; tcl: 4,770; makefile: 588; sh: 81; csh: 7
file content (11 lines) | stat: -rw-r--r-- 199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

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