rice

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c7baa51c083c4527a5342d5950c7fad2e08b97f6
parent 0a78e422fe5499b8563f590f03416c727e06eb3d
Author: Mark Feller <mfeller@recurly.com>
Date:   Thu, 19 Dec 2019 18:25:40 -0700

preinstall

Signed-off-by: Mark Feller <mfeller@recurly.com>

Diffstat:
Minstall | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/install b/install @@ -57,5 +57,13 @@ install_dots() { (cd ~/.config/rice && stow --target=$HOME --ignore='gitignore' dots) } +pre_install() { + # Enable RPM Fustion free and non-free on Fedora + [ $os -eq "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 +} + +pre_install install_packages install_dots