Browse code

Replace "sid" and "testing" by "stretch"

Supported Debian distros (codenames) are "sid", "testing",
and "jessie", but it should be "stretch" and "jessie".

"testing" is no codename and therefore should be replaced by
"stretch".

"sid" changes all the time and cannot be guaranteed to run
correctly or is at least not tested.

Change-Id: Id4b80a055452bbff69036d4dc1adeda46ce99664
Closes-Bug: #1673810
Closes-Bug: #1674416

David Rabel authored on 2017/03/18 00:14:00
Showing 1 changed files
... ...
@@ -192,7 +192,7 @@ source $TOP_DIR/stackrc
192 192
 
193 193
 # Warn users who aren't on an explicitly supported distro, but allow them to
194 194
 # override check and attempt installation with ``FORCE=yes ./stack``
195
-if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|sid|testing|jessie|f24|f25|rhel7|kvmibm1) ]]; then
195
+if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|rhel7|kvmibm1) ]]; then
196 196
     echo "WARNING: this script has not been tested on $DISTRO"
197 197
     if [[ "$FORCE" != "yes" ]]; then
198 198
         die $LINENO "If you wish to run this script anyway run with FORCE=yes"