From a05f265ae4637e27bb1103761384cad843f40d35 Mon Sep 17 00:00:00 2001 From: Blake Ridgway Date: Sun, 28 May 2023 13:38:44 -0500 Subject: [PATCH] (chore): Updated post install script --- post_install | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/post_install b/post_install index 9a060be..1379080 100755 --- a/post_install +++ b/post_install @@ -3,6 +3,17 @@ # Relies on Flatpak to be installed # Created by Blake Ridgway +# Enable RPM Fusion + +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 + +# Update system after confirming RPM Fusion is enabled +sudo dnf update; sudo dnf upgrade + # Verify flatpak is engaged properly flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo @@ -30,7 +41,8 @@ FLATPAK_LIST=( com.bitwarden.desktop com.slack.Slack md.obsidian.Obsidian - + net.veloren.airshipper + xyz.diamondb.gtkcord4 ) echo ####################### @@ -63,6 +75,12 @@ echo # NVM # echo ####### curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash +echo ######## +echo # Node # +echo ######## + +nvm install node + echo ########## echo # pynvim # echo ########## @@ -91,12 +109,6 @@ echo ###################### sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -echo ######## -echo # Node # -echo ######## - -zsh nvm install node - echo ################## echo # Setup Starship # echo ################## @@ -134,6 +146,8 @@ echo ################ rm -r *.ttf *.tar.gz *.rpm +# Symlink files + FILES=( 'vimrc' 'vim' 'zshrc' 'zsh' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'aliases' ) for file in ${FILES[@]}; do echo "" @@ -147,11 +161,3 @@ for file in ${FILES[@]}; do exit 1 fi done - -# Enable RPM Fusion - -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