Use full debian_version
This commit is contained in:
parent
2a925904e4
commit
57010260bd
|
@ -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