mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-10-15 04:38:41 +09:00
Replace and rename raspi -> brain
This commit is contained in:
11
debian/brain-config.postinst
vendored
Normal file
11
debian/brain-config.postinst
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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#
|
Reference in New Issue
Block a user