#!/bin/sh -e

vnew="$1"
vold="$2"

if test `apk version -t $vnew 20241210-r0` = '>' && test `apk version -t $vold 20241210-r0` != '>' ; then
	echo
	echo '***'
	echo 'The linux-firmware package was repartitioned. Due to this, firmware'
	echo 'files from go7007, mediatek, ath10k, qcom and ti folders might have'
	echo 'been removed. If your hardware needs these files, please install'
	echo 'relevant linux-firmware subpackage.'
	echo 'If unsure, install the whole linux-firmware package.'
	echo '***'
	echo
fi