improved code quality, few bug fixes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
# ------------------------------------------------------------------------------
|
||||
# Version determination function
|
||||
# This file is part of the init.sh project
|
||||
@@ -37,7 +38,7 @@ get_os_version()
|
||||
unset maj min
|
||||
fi
|
||||
|
||||
# Return values on stdout
|
||||
# Return values on stdout (awk used to retreave primary codename when using testing or unstable)
|
||||
echo ${ID,,} ${VERSION_ID} $(echo ${VERSION_CODENAME,,} | awk '{print $1}')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user