mirror of
				https://github.com/flynx/post-install.git
				synced 2025-10-31 19:40:10 +00:00 
			
		
		
		
	added rpmfusion + split flatpak into flatpak and flathub...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									a2c2e8016c
								
							
						
					
					
						commit
						5c41b319ac
					
				
							
								
								
									
										25
									
								
								post-install
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								post-install
									
									
									
									
									
								
							| @ -64,6 +64,9 @@ FEATURES=( | |||||||
| 	dir | 	dir | ||||||
| 
 | 
 | ||||||
| 	dnf-config | 	dnf-config | ||||||
|  | 	rpmfusion | ||||||
|  | 	flathub | ||||||
|  | 
 | ||||||
| 	dnf | 	dnf | ||||||
| 	flatpak | 	flatpak | ||||||
| 	npm | 	npm | ||||||
| @ -160,6 +163,12 @@ PKG_DNF=( | |||||||
| 
 | 
 | ||||||
| 	# apps... | 	# apps... | ||||||
| 	krita | 	krita | ||||||
|  | 	# XXX needed for OBS' virtual camera + requires rpmfusion | ||||||
|  | 	#		$ sudo dnf install \ | ||||||
|  | 	#			https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | ||||||
|  | 	#		$ sudo dnf install \ | ||||||
|  | 	#			https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | ||||||
|  | 	# v4l2loopback | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| PKG_NPM=( | PKG_NPM=( | ||||||
| @ -311,9 +320,23 @@ function feature-npm(){ | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
| function feature-flatpak(){ | function feature-rpmfusion(){ | ||||||
|  | 	@ sudo dnf install \ | ||||||
|  | 		https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | ||||||
|  | 	@ sudo dnf install \ | ||||||
|  | 		https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
|  | function feature-flathub(){ | ||||||
| 	@ sudo flatpak remote-add --if-not-exists flathub \ | 	@ sudo flatpak remote-add --if-not-exists flathub \ | ||||||
| 		https://flathub.org/repo/flathub.flatpakrepo | 		https://flathub.org/repo/flathub.flatpakrepo | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
|  | function feature-flatpak(){ | ||||||
| 	@setupList sudo flatpak install - ${PKG_FLATPAK[@]} | 	@setupList sudo flatpak install - ${PKG_FLATPAK[@]} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user