add arm64/armhf for 18.04, replace git{,-lfs} (#51)

This commit is contained in:
Ryan
2022-03-05 04:22:34 +01:00
committed by GitHub
parent 664778dd40
commit 343ae52a8b
11 changed files with 255 additions and 91 deletions
+6 -3
View File
@@ -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}"
}