brain-config/debian/brain-config.postinst
2022-07-02 23:23:31 +09: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 brain-config remove
fi
#DEBHELPER#