File: prerm

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 (14 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

# doc-base
if command -v install-docs >/dev/null 2>&1; then
        install-docs -r urlview
fi

# Change the docs to the new FHS
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
       -a -L /usr/doc/urlview ]; then
        rm -f /usr/doc/urlview
fi
exit 0