File: acct.postrm

package info (click to toggle)
acct 6.6.4-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,488 kB
  • sloc: ansic: 16,081; sh: 11,379; cpp: 290; makefile: 153
file content (22 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

case "$1" in
	purge)
		rm -rf /var/log/account
		rm -f /var/log/wtmp.report
		;;

	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

		;;

	*)
		echo "postrm called with unknown argument \`$1'" >&2
		;;
esac

#DEBHELPER#

exit 0