forked from switnet/quick-jibri-installer
quick_jibri_installer.sh: add 24.04 support for Ubuntu and Trisquel.
This commit is contained in:
parent
265c1151a4
commit
22957eddf4
|
@ -68,8 +68,9 @@ rename_distro() {
|
|||
fi
|
||||
}
|
||||
#Trisquel distro upstream referencing.
|
||||
rename_distro nabia focal
|
||||
rename_distro aramo jammy
|
||||
rename_distro nabia focal
|
||||
rename_distro aramo jammy
|
||||
rename_distro ecne noble
|
||||
|
||||
install_ifnot() {
|
||||
if [ "$(dpkg-query -W -f='${Status}' "$1" 2>/dev/null | grep -c "ok installed")" == "1" ]; then
|
||||
|
@ -189,7 +190,8 @@ fi
|
|||
|
||||
printf "\nOS: %s" "$(lsb_release -sd)"
|
||||
if [ "$DIST" = "focal" ] || \
|
||||
[ "$DIST" = "jammy" ]; then
|
||||
[ "$DIST" = "jammy" ] || \
|
||||
[ "$DIST" = "noble" ]; then
|
||||
printf "\nGood, this is a supported platform!"
|
||||
else
|
||||
printf "\nSorry, this platform is not supported... exiting"
|
||||
|
|
Loading…
Reference in New Issue