cleaned up install.sh
This commit is contained in:
parent
7cedae7f4b
commit
3a6d0b4155
10
install.sh
10
install.sh
@ -11,19 +11,21 @@ if [[ -f /etc/os-release ]]; then
|
|||||||
|
|
||||||
case "$ID_LIKE" in
|
case "$ID_LIKE" in
|
||||||
debian)
|
debian)
|
||||||
echo "Running on debian-family. Installing core packages"
|
echo "Running on debian-family.."
|
||||||
package_manager=apt
|
package_manager=apt
|
||||||
sudo $package_manager install -y vim-nox git stow curl ranger tmux
|
vim="vim-nox"
|
||||||
;;
|
;;
|
||||||
fedora)
|
fedora)
|
||||||
echo "Running on debian-family. Installing core packages"
|
echo "Running on debian-family.."
|
||||||
package_manager=fedora
|
package_manager=fedora
|
||||||
sudo $package_manager install -y vim-enhanced git stow curl ranger tmux
|
vim="vim-enhanced"
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
echo "You are running an unrecognized family of os. Quitting..."
|
echo "You are running an unrecognized family of os. Quitting..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# use gnu stow to symlink config files to home directory
|
||||||
stow bash git ranger shellenv tmux vim
|
stow bash git ranger shellenv tmux vim
|
||||||
|
Loading…
Reference in New Issue
Block a user