Use full debian_version
This commit is contained in:
parent
00005c62d6
commit
2c68341883
|
@ -12,7 +12,7 @@ TMPFILE=$(mktemp)
|
|||
TGTFILE=/run/pvc-motd.dynamic
|
||||
|
||||
NAME="$( grep '^NAME=' /etc/os-release | awk -F'"' '{ print $2 }' )"
|
||||
VERSION_ID="$( grep '^VERSION_ID=' /etc/os-release | awk -F'"' '{ print $2 }' )"
|
||||
VERSION_ID="$( cat /etc/debian_version )"
|
||||
VERSION_CODENAME="$( grep '^VERSION_CODENAME=' /etc/os-release | awk -F'=' '{ print $2 }' )"
|
||||
DEBVER="${NAME} ${VERSION_ID} \"$(tc ${VERSION_CODENAME} )\""
|
||||
|
||||
|
|
Loading…
Reference in New Issue