File: prerm

package info (click to toggle)
gnugo 2.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,816 kB
  • ctags: 1,828
  • sloc: ansic: 22,091; tcl: 401; sh: 376; makefile: 202
file content (15 lines) | stat: -rw-r--r-- 223 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=gnugo
    OLD=/usr/doc/$PKG
    if test -h $OLD; then
	rm -f $OLD
    fi
}

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