From 3a6d0b415555c4f28afb250b9b7cf9cc27b0dbc9 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Thu, 8 Aug 2024 21:38:48 -0400 Subject: cleaned up install.sh --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index c49c648..6fa0292 100755 --- a/install.sh +++ b/install.sh @@ -11,19 +11,21 @@ if [[ -f /etc/os-release ]]; then case "$ID_LIKE" in debian) - echo "Running on debian-family. Installing core packages" + echo "Running on debian-family.." package_manager=apt - sudo $package_manager install -y vim-nox git stow curl ranger tmux + vim="vim-nox" ;; fedora) - echo "Running on debian-family. Installing core packages" + echo "Running on debian-family.." package_manager=fedora - sudo $package_manager install -y vim-enhanced git stow curl ranger tmux + vim="vim-enhanced" esac else echo "You are running an unrecognized family of os. Quitting..." exit 1 fi +echo "Installing packages" +sudo $package_manager install -y $vim git stow curl ranger tmux # use gnu stow to symlink config files to home directory stow bash git ranger shellenv tmux vim -- cgit v1.2.3