(chore): Updated post install script

This commit is contained in:
Blake Ridgway 2023-05-28 13:38:44 -05:00
parent d0d17c5418
commit a05f265ae4

View file

@ -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