diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-03-22 10:34:24 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-03-22 10:34:24 +0000 |
commit | 8e8bfad331752ef7dc605c9f7c65e8271f96ddeb (patch) | |
tree | 4380e2475d4008c4601a8ed66b0d423948c1bfbc /user/tlp/tlp.post-upgrade | |
parent | 98667acf075a3383f3e7a5d1192236630f349ab2 (diff) | |
parent | 19029ee5ecc515ace99092975081c6e076416d0d (diff) | |
download | packages-8e8bfad331752ef7dc605c9f7c65e8271f96ddeb.tar.gz packages-8e8bfad331752ef7dc605c9f7c65e8271f96ddeb.tar.bz2 packages-8e8bfad331752ef7dc605c9f7c65e8271f96ddeb.tar.xz packages-8e8bfad331752ef7dc605c9f7c65e8271f96ddeb.zip |
Merge branch 'sr.2020.03.03' into 'master'
Bumps for Maintainer: Max Rees for 2020.03.03
See merge request adelie/packages!410
Diffstat (limited to 'user/tlp/tlp.post-upgrade')
-rw-r--r-- | user/tlp/tlp.post-upgrade | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/tlp/tlp.post-upgrade b/user/tlp/tlp.post-upgrade new file mode 100644 index 000000000..6adf68850 --- /dev/null +++ b/user/tlp/tlp.post-upgrade @@ -0,0 +1,14 @@ +#!/bin/sh +ver_new="$1" +ver_old="$2" + +if [ "$(apk version -t "$ver_old" "1.3.1")" = "<" ]; then + cat >&2 <<-EOF + * + * tlp has moved its configuration from '/etc/default/tlp' + * to '/etc/tlp.conf' and '/etc/tlp.d'. Additionally, + * these configuration files are now parsed instead of + * executed via the shell, so expansions will no longer work. + * + EOF +fi |