mirror of
https://github.com/flynx/post-install.git
synced 2025-10-29 02:30:08 +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
|
||||
|
||||
dnf-config
|
||||
rpmfusion
|
||||
flathub
|
||||
|
||||
dnf
|
||||
flatpak
|
||||
npm
|
||||
@ -160,6 +163,12 @@ PKG_DNF=(
|
||||
|
||||
# apps...
|
||||
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=(
|
||||
@ -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 \
|
||||
https://flathub.org/repo/flathub.flatpakrepo
|
||||
}
|
||||
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
function feature-flatpak(){
|
||||
@setupList sudo flatpak install - ${PKG_FLATPAK[@]}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user