File: prerm

package info (click to toggle)
hotkey-setup 0.1-23
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 180 kB
  • ctags: 40
  • sloc: ansic: 270; sh: 179; makefile: 59
file content (13 lines) | stat: -rw-r--r-- 314 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if dpkg --compare-versions "$2" lt "0.1-19"; then
	# setkeycodes exits with error sometimes (#437360) and has
	# completely broken the upgrade path for some users.
	# remove the saved state file if installed package prerm
	# maintainer script fails.
	rm -f /var/run/hotkey-setup
fi

#DEBHELPER#