add arm64/armhf for 18.04, replace git{,-lfs} (#51)
This commit is contained in:
@@ -5,13 +5,16 @@
|
||||
################################################################################
|
||||
|
||||
function isUbuntu18() {
|
||||
lsb_release -d | grep -q 'Ubuntu 18'
|
||||
. /etc/os-release
|
||||
[[ "${VERSION_ID}" =~ ^18\.(.*)$ ]]
|
||||
}
|
||||
|
||||
function isUbuntu20() {
|
||||
lsb_release -d | grep -q 'Ubuntu 20'
|
||||
. /etc/os-release
|
||||
[[ "${VERSION_ID}" =~ ^20\.(.*)$ ]]
|
||||
}
|
||||
|
||||
function getOSVersionLabel() {
|
||||
lsb_release -cs
|
||||
. /etc/os-release
|
||||
echo "${VERSION_CODENAME}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user