commit 6316a003531229ec5bc96f4e0b826f3fb733d99d parent 3b8e65cea917c44fd250134311ede1984b759aa0 Author: Mark Feller <mfeller@recurly.com> Date: Thu, 19 Dec 2019 18:27:23 -0700 rpm fusion Signed-off-by: Mark Feller <mfeller@recurly.com> Diffstat:
M | install | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/install b/install @@ -59,9 +59,12 @@ install_dots() { pre_install() { # Enable RPM Fustion free and non-free on Fedora - [ "$os" == "fedora" ] && sudo dnf install \ - https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ - https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm + [ "$os" == "fedora" ] && { + log "Enabling RPM Fustion" + sudo dnf install \ + https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ + https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm + } } pre_install