Re: texlive: Upload to unstable and upgrades from experimental
On Mon, May 08, 2006 at 10:58:29PM +0200, Norbert Preining wrote:
> something like this would be ok if it occurs at the beginning of the
> preinst scripts?
Yes, see correction below, though.
> # we want to be sure that experimental versions are purged before
> # the first unstable is installed
> case "$1" in
> upgrade|install)
> old_version=$2
> if dpkg --compare-versions "$old_version" lt 2005-2 ; then
if [ -n "$old_version" ] && dpkg --compare-versions ...
> echo "Upgrade from experimental versions are not supported!" >&2
> echo "Please purge all texlive packages before installation." >&2
> exit 1
> fi
> ;;
> esac
Julian
Reply to: