case "${ACTION}" in
post)
	case "${UPDATE}" in
	no)
		cd opt/texlive2018-installer
		case "${ARCH}" in
			x86_64-musl)
			./install-tl -repository ftp://ftp.tug.org/texlive/historic/2018/tlnet-final/ -profile xbps.profile -force-platform x86_64-linuxmusl
			;;
			*)
			./install-tl -repository ftp://ftp.tug.org/texlive/historic/2018/tlnet-final/ -profile xbps.profile
			;;
		esac
	esac
esac
