File: prerm

package info (click to toggle)
netcdf-perl 1.2-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 276 kB
  • ctags: 7
  • sloc: perl: 366; makefile: 154; sh: 31
file content (15 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

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

if [ "$1" = remove ]; then
    movedoc
fi