File: prerm

package info (click to toggle)
cfal 1.2.0-3
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 48 kB
  • ctags: 1
  • sloc: makefile: 264; sh: 170
file content (18 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

#DEBHELPER#

if [ "$1" = "remove" ]; then
	. /usr/share/debconf/confmodule || exit
	db_version 2.0
	db_fset cfal/intro rpmok false
	# Remove alternatives symlink set in postinst
	update-alternatives --remove f77 /usr/bin/fort
fi


if [ "$1" != "upgrade" ]; then
	# Clean up files installed in the postinst.
	rm -rf /usr/lib/compaq/cfal-* /usr/share/doc/cfal/README.gz \
	  /usr/share/doc/cfal/decfortran90.hlp.gz
fi