File: postinst

package info (click to toggle)
lg-base 77-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,228 kB
  • ctags: 198
  • sloc: perl: 85; sh: 41; makefile: 32
file content (12 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

/usr/lib/lg/fixlinks /usr/share/doc/lg/lg_index.html /usr/share/doc/lg/issue*/*toc*.html

# remove old directory structure - point at the new one instead
if [ "$1" = "configure" ]; then
  if [ -d /usr/doc -a ! -L /usr/doc/lg ]; then
    ln -sf ../share/doc/lg /usr/doc/lg
  fi
fi

#DEBHELPER#