#!/bin/sh
grep zsh ${IPKG_INSTROOT}/etc/shells || echo "/usr/bin/zsh" >> ${IPKG_INSTROOT}/etc/shells

	# Backwards compatibility
	if [[ -e /bin/zsh ]] && ([[ ! -L /bin/zsh ]] || [[ "" != "..//usr/bin/zsh" ]]); then
		ln -fs "..//usr/bin/zsh" "${IPKG_INSTROOT}/bin/zsh"
	fi
