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