#!/bin/sh -e

rm -f /etc/runlevels/default/s6

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

if test `apk version -t $vnew 2.13` != '<' && test `apk version -t $vold 2.13` = '<' ; then
	echo
	echo '***'
	echo 'The s6 package has undergone an ABI change.'
	echo 'Please reboot at your earliest convenience. Commands such as s6-svstat'
	echo 'may not work until you do so.'
	echo '***'
	echo
fi
