summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/cpupower.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-27 01:12:11 -0800
committerroot <root@rshg054.dnsready.net>2013-01-27 01:12:11 -0800
commit3ed565983048f1226dd3f258a3f0acaf04536dda (patch)
tree9ea304021502408af54b935da41441afb7e4bd62 /libre/linux-libre-tools/cpupower.install
parent7d3e94229ca9849421d263542eb2c61f64a91c10 (diff)
Sun Jan 27 01:11:57 PST 2013
Diffstat (limited to 'libre/linux-libre-tools/cpupower.install')
-rw-r--r--libre/linux-libre-tools/cpupower.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/linux-libre-tools/cpupower.install b/libre/linux-libre-tools/cpupower.install
new file mode 100644
index 000000000..10e07ae52
--- /dev/null
+++ b/libre/linux-libre-tools/cpupower.install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [ "$(vercmp $2 3.7-4)" -le 0 ]; then
+ cat << EOF
+===> cpupower startup config file moved to /etc/default/cpupower
+EOF
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et: