File: prerm

package info (click to toggle)
netcdf-doc 1%3A3-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 936 kB
  • ctags: 3
  • sloc: makefile: 54; sh: 35
file content (16 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

# movedoc - function to make the transition /usr/doc -> /usr/share/doc
movedoc()
{
    PKG=netcdf-doc
    OLD=/usr/doc/$PKG
    if test -h $OLD; then
	rm -f $OLD
    fi
}

if [ "$1" = remove ]; then
    install-info --quiet --remove cxxdoc
    movedoc
fi