From 5c41b319ac94f5f66b1d3f71a9d85161137cf86e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 26 Dec 2022 00:46:29 +0300 Subject: [PATCH] added rpmfusion + split flatpak into flatpak and flathub... Signed-off-by: Alex A. Naanou --- post-install | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/post-install b/post-install index cc5fbfe..c9b305d 100755 --- a/post-install +++ b/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[@]} }