#
# This script remove the /bin/sh symlink to /bin/dash
# and makes a new one to /bin/bash if available.
#

case "${ACTION}" in
pre)
	if [ -x ./bin/bash ]; then
		echo "Creating /bin/sh -> /bin/bash symlink..."
		cd ./bin && ln -sf bash sh
	fi
	;;
post)
	;;
esac
