Add po4a for arch and fedora
This commit is contained in:
		
							parent
							
								
									60ff234d1b
								
							
						
					
					
						commit
						ce44ede67e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -187,7 +187,7 @@ freebsd()
 | 
			
		|||
archLinux()
 | 
			
		||||
{
 | 
			
		||||
	echo "Detected Arch Linux"
 | 
			
		||||
	packages="cmake fuse git gperf perl-html-parser nasm wget texinfo bison flex"
 | 
			
		||||
	packages="cmake fuse git gperf perl-html-parser nasm wget texinfo bison flex po4a"
 | 
			
		||||
	if [ "$1" == "qemu" ]; then
 | 
			
		||||
		packages="$packages qemu"
 | 
			
		||||
	elif [ "$1" == "virtualbox" ]; then
 | 
			
		||||
| 
						 | 
				
			
			@ -286,7 +286,7 @@ fedora()
 | 
			
		|||
		fi
 | 
			
		||||
	fi
 | 
			
		||||
	# Use rpm -q <package> to check if it's already installed
 | 
			
		||||
	PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser; do rpm -q $pkg > /dev/null || echo $pkg; done)
 | 
			
		||||
	PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser po4a; do rpm -q $pkg > /dev/null || echo $pkg; done)
 | 
			
		||||
	# If the list of packages is not empty, install missing
 | 
			
		||||
	COUNT=$(echo $PKGS | wc -w)
 | 
			
		||||
	if [ $COUNT -ne 0 ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue