summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/cpupower.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-26 12:22:16 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-26 12:22:16 -0200
commit072fcf33f41cce6ec27949da2a5f3d841a6d8cc8 (patch)
tree41445b7d6692fdfc24b5c6f10b0da9f6146636a8 /libre/linux-libre-tools/cpupower.install
parent0258b92ad774dce06ed27aeb77e897d3b5bc626e (diff)
downloadabslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.tar.gz
abslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.tar.bz2
abslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.zip
linux-libre-tools-3.7-5: updating revision
* fix https://bugs.archlinux.org/task/33549 * put binutils on perf-libre's depends line
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: