fix bootstrap.sh to not confuse the status checks about the latest version
This commit is contained in:
parent
29e77d25fc
commit
cd3fb1b487
1 changed files with 4 additions and 3 deletions
|
@ -14,9 +14,10 @@ if [ -z "$TAG" ]; then
|
|||
# in part because an upgrade is required before jumping to Ubuntu 18.04.
|
||||
# New users on Ubuntu 18 need to get the latest version number too.
|
||||
#
|
||||
# Also, the system status checks read this script for TAG= to get
|
||||
# the latest version, so the first TAG= line must be the one that
|
||||
# we want to display in status checks.
|
||||
# Also, the system status checks read this script for TAG = to get
|
||||
# (without the space, but if we put it in a comment it would confuse
|
||||
# the status checks!) the latest version, so the first such line must
|
||||
# be the one that we want to display in status checks.
|
||||
if [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' `" == "Ubuntu 18.04 LTS" ]; then
|
||||
# This machine is running Ubuntu 18.04.
|
||||
TAG=v0.30
|
||||
|
|
Loading…
Reference in a new issue