File: postinst

package info (click to toggle)
urlview 0.7-8
  • links: PTS
  • area: main
  • in suites: potato
  • size: 272 kB
  • ctags: 93
  • sloc: ansic: 1,520; sh: 402; makefile: 85
file content (13 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# doc-base
if command -v install-docs >/dev/null 2>&1; then
        install-docs -i /usr/share/doc-base/urlview
fi                                                                              

# Change to the new FHS docs
if [ "$1" = "configure" ]; then
      if [ -d /usr/doc -a ! -e /usr/doc/urlview \
          -a -d /usr/share/doc/urlview ]; then
              ln -sf ../share/doc/urlview /usr/doc/urlview
      fi
fi