File: flash-kernel.postrm

package info (click to toggle)
flash-kernel 3.107
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 716 kB
  • sloc: sh: 519; makefile: 36
file content (25 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

case "$1" in
	purge)
		rm -f /etc/default/flash-kernel

		if which ucf >/dev/null ; then
			ucf --purge /etc/default/flash-kernel
		fi
		if which ucfr >/dev/null ; then
			ucfr --purge flash-kernel \
				/etc/default/flash-kernel || true
		fi
		;;
	remove|upgrade|failed-upgrade|abort-upgrade|abort-install)
		;;
	*)
		echo "postrm called with unknown argument \`$1'" >&2
		exit 1
		;;
esac

#DEBHELPER#