brain-config/debian/brain-config.postinst

12 lines
225 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ -e /etc/init.d/switch_cpu_governor ]; then
update-rc.d switch_cpu_governor remove >/dev/null
fi
2017-06-19 18:18:47 +09:00
if dpkg --compare-versions "${2}" lt-nl "20170619"; then
2022-07-02 23:23:31 +09:00
update-rc.d -f brain-config remove
2017-06-19 18:18:47 +09:00
fi
#DEBHELPER#