fix(set_lsb_release): Spelling is for suckers

This commit is contained in:
Michael Marineau 2013-07-26 00:02:11 -04:00
parent 9ed620c277
commit 2acc703cc8

View File

@ -83,15 +83,15 @@ $COREOS_VERSION_NAME release $COREOS_VERSION_STRING
EOF
# Aaaannd for the new systemd world order
# os-release provides a seperate build-id field, so split it from version
# os-release provides a separate build-id field, so split it from version
OS_ID=$(tr '[:upper:]' '[:lower:]' <<<"$COREOS_VERSION_NAME")
OS_VERION_ID="${COREOS_VERSION_STRING%%+*}"
OS_VERSION_ID="${COREOS_VERSION_STRING%%+*}"
OS_BUILD_ID="${COREOS_VERSION_STRING#*+}"
sudo_clobber "${ROOT_FS_DIR}/etc/os-release" <<EOF
NAME=$COREOS_VERSION_NAME
ID=$OS_ID
VERSION=$COREOS_VERSION_STRING
VERSION_ID=$OS_VERION_ID
VERSION_ID=$OS_VERSION_ID
BUILD_ID=$OS_BUILD_ID
PRETTY_NAME="$COREOS_VERSION_NAME $COREOS_VERSION_DESCRIPTION"
ANSI_COLOR="1;32"