[27139] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25967 - trunk/debathena/scripts/installer

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Wed May 8 20:48:05 2013

Date: Wed, 8 May 2013 20:47:55 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201305082026.r48KQaHk030083@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1305082047530.9389@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

ACK.
-Ben

On Wed, 8 May 2013, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2013-05-08 16:26:36 -0400 (Wed, 08 May 2013)
> New Revision: 25967
>
> Modified:
>   trunk/debathena/scripts/installer/install-debathena.beta.sh
> Log:
> Support wheezy, because apparently we didn't
> Note that jessie is unsupported
> Move the "unsupported" warning outside the case block
>
>
> Modified: trunk/debathena/scripts/installer/install-debathena.beta.sh
> ===================================================================
> --- trunk/debathena/scripts/installer/install-debathena.beta.sh	2013-05-08 19:23:42 UTC (rev 25966)
> +++ trunk/debathena/scripts/installer/install-debathena.beta.sh	2013-05-08 20:26:36 UTC (rev 25967)
> @@ -62,9 +62,13 @@
> fi
> distro=`lsb_release -cs`
> aptitude=aptitude
> +prerelease=no
> case $distro in
> -  squeeze)
> +  squeeze|wheezy)
>     ;;
> +  jessie)
> +    prerelease=yes
> +    ;;
>   lucid)
>     ubuntu=yes
>     ;;
> @@ -75,19 +79,7 @@
>   saucy)
>     ubuntu=yes
>     aptitude=apt-get
> -    output "The release you are running ($distro) is not yet supported"
> -    output "and installing Debathena on it is probably a bad idea,"
> -    output "particularly for any purpose other than beta testing."
> -    output ""
> -    output "(New releases are generally supported a couple of weeks"
> -    output "after the official release date.  We strongly encourage you"
> -    output "to check http://debathena.mit.edu for support information"
> -    output "and try again later, or install the previous version of"
> -    output "the operating system.)"
> -    if ! test -f /root/pxe-install-flag; then
> -	ask "Are you sure you want to proceed? [y/N] " n
> -	[ y != "$answer" ] && exit 1
> -    fi
> +    prerelease=yes
>     ;;
>   lenny|hardy|intrepid|jaunty|karmic|maverick|natty|oneiric)
>     error "The release you are running ($distro) is no longer supported."
> @@ -106,6 +98,22 @@
>     ;;
> esac
>
> +if [ "$prerelease" = "yes" ]; then
> +    output "The release you are running ($distro) is not yet supported"
> +    output "and installing Debathena on it is probably a bad idea,"
> +    output "particularly for any purpose other than beta testing."
> +    output ""
> +    output "(New releases are generally supported a couple of weeks"
> +    output "after the official release date.  We strongly encourage you"
> +    output "to check http://debathena.mit.edu for support information"
> +    output "and try again later, or install the previous version of"
> +    output "the operating system.)"
> +    if ! test -f /root/pxe-install-flag; then
> +	ask "Are you sure you want to proceed? [y/N] " n
> +	[ y != "$answer" ] && exit 1
> +    fi
> +fi
> +
> laptop=no
> wifi=no
> if [ -x /usr/sbin/laptop-detect ] && /usr/sbin/laptop-detect 2>/dev/null; then
>
>

home help back first fref pref prev next nref lref last post