pre_upgrade() {
	if (( $(vercmp "$2" 1:3.0.3-6) < 0 )); then
		echo -e "\n:: kea 1:3.0.3-6 requires manual intervention\n   See the related news on https://archlinux.org/news\n"
		chmod 755 /usr/include/kea/{,asiodns,asiolink,cc,config,config_backend,cryptolink,d2srv,database,dhcp,dhcp_ddns,dhcpsrv,dhcpsrv/parsers,dns,eval,exceptions,hooks,http,log,log/interprocess,mysql,pgsql,process,process/cfgrpt,stats,tcp,util,util/encode,util/io} /usr/lib/kea/{,hooks} /usr/lib/python3.14/site-packages/kea/{,__pycache__/} /usr/share/kea/{,api,meson-info,scripts,scripts/mysql,scripts/pgsql}
	fi
}
