File: pm-utils.preinst

package info (click to toggle)
pm-utils 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,092 kB
  • ctags: 116
  • sloc: sh: 2,516; xml: 1,015; makefile: 158; ansic: 152
file content (10 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

if [ "$1" = "install" -o "$1" = "upgrade" ] && \
    dpkg --compare-versions "$2" lt-nl "1.3.0~rc3-2"; then
	# 1.3~ versions prior to this had a broken quirks DB evaluation or
	# stored the cache file at the wrong location, so force an update
	rm -f /etc/pm/last_known_working.quirkdb
fi

#DEBHELPER#