brain-config/debian/raspi-config.postinst
Serge Schneider a60e870b96 20191210 release
Fix postrm script
2019-12-10 14:31:38 +00:00

12 lines
225 B
Bash

#!/bin/sh
if [ -e /etc/init.d/switch_cpu_governor ]; then
update-rc.d switch_cpu_governor remove >/dev/null
fi
if dpkg --compare-versions "${2}" lt-nl "20170619"; then
update-rc.d -f raspi-config remove
fi
#DEBHELPER#