File: postrm

package info (click to toggle)
update-notifier 0.70.7.debian-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,592 kB
  • ctags: 290
  • sloc: sh: 3,776; ansic: 2,628; makefile: 155; python: 141
file content (11 lines) | stat: -rw-r--r-- 197 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

STAMP=/var/lib/update-notifier/dpkg-run-stamp

if [ "$1" = purge ] && [ -f $STAMP ]; then
	rm -f $STAMP
	rmdir --ignore-fail-on-non-empty /var/lib/update-notifier
fi

#DEBHELPER#