File: prerm

package info (click to toggle)
netcdf-doc 1%3A3a-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,052 kB
  • ctags: 1,463
  • sloc: makefile: 58; sh: 25
file content (14 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

if [ "$1" = remove ]; then
    install-info --quiet --remove cxxdoc
    pkg=netcdf-doc
    if [ -L /usr/doc/$pkg ]; then rm -f /usr/doc/$pkg; fi
fi
if [ "$1" = remove -o "$1" = upgrade ]; then
    if command -v install-docs >/dev/null 2>&1; then
	install-docs -r netcdf-doc-c
	install-docs -r netcdf-doc-f
	install-docs -r netcdf-doc-cxx 
    fi
fi