File: postinst

package info (click to toggle)
doc-linux-sv 1999.11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 612 kB
  • ctags: 11
  • sloc: perl: 89; makefile: 85; sh: 22
file content (19 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

L=sv

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

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

#DEBHELPER#