summaryrefslogtreecommitdiff
path: root/community/linux-tools/cpupower.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/linux-tools/cpupower.install')
-rw-r--r--community/linux-tools/cpupower.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/linux-tools/cpupower.install b/community/linux-tools/cpupower.install
new file mode 100644
index 000000000..10e07ae52
--- /dev/null
+++ b/community/linux-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: