#!/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