File: cdparanoia.preinst

package info (click to toggle)
cdparanoia 3a9.8-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 572 kB
  • ctags: 538
  • sloc: ansic: 6,259; sh: 1,235; makefile: 61
file content (12 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

# Old versions used separate doc dirs and dpkg doesn't remove them
if [ "$1" = "upgrade" ]; then
	if [ -d /usr/share/doc/cdparanoia -a \
	  ! -L /usr/share/doc/cdparanoia ]; then
		rm -rf /usr/share/doc/cdparanoia
	fi
fi

#DEBHELPER#