summaryrefslogblamecommitdiff
path: root/user/tlp/tlp.post-upgrade
blob: 6adf68850f0e8f53d2b2f9ca1f2fa56807f30e84 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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