#!/bin/sh
set -e

prog=/usr/bin/cpufreq-selector

case "$1" in
install|upgrade)
    if dpkg --compare-versions "$2" lt-nl "2.24"; then
	if dpkg-statoverride --list $prog > /dev/null; then
		dpkg-statoverride --remove $prog
	fi;
    fi
esac

#DEBHELPER#
