don't reinstall packages
This commit is contained in:
parent
dda5b90850
commit
9141d0ef5f
17
install.sh
17
install.sh
|
@ -34,7 +34,7 @@ fi
|
|||
if $NVIM; then
|
||||
dependencies="neovim git npm unzip fzf cmake gcc make curl wget"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies
|
||||
pacman -Sy --needed --noconfirm $dependencies
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
apt install -y software-properties-common
|
||||
|
@ -56,7 +56,7 @@ if $ZSH; then
|
|||
PROFILE=true
|
||||
dependencies="fzf zsh curl"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies
|
||||
pacman -Sy --needed --noconfirm $dependencies
|
||||
echo "Please manually install yay and autojump-rs"
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
|
@ -82,9 +82,9 @@ fi
|
|||
#################################################
|
||||
|
||||
if $AWESOME; then
|
||||
dependencies="awesome picom xbindkeys numlockx xcape"
|
||||
dependencies="awesome picom numlockx xcape rofi"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies network-manager-applet
|
||||
pacman -Sy --needed --noconfirm $dependencies network-manager-applet xorg-xmodmap adobe-source-code-pro-fonts noto-fonts ttf-nerd-fonts-symbols
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
apt install -y $dependencies awesome-extra
|
||||
|
@ -92,7 +92,8 @@ if $AWESOME; then
|
|||
|
||||
ln -s $PWD/awesome $XDG_CONFIG_HOME/awesome
|
||||
ln -s $PWD/picom/picom.conf $XDG_CONFIG_HOME/picom.conf
|
||||
ln -s $PWD/picom/picom.conf $XDG_CONFIG_HOME/picom.conf
|
||||
ln -s $PWD/xmodmap/.Xmodmap $XDG_CONFIG_HOME/.Xmodmap
|
||||
ln -s $PWD/rofi $XDG_CONFIG_HOME/rofi
|
||||
fi
|
||||
|
||||
#################################################
|
||||
|
@ -102,7 +103,7 @@ fi
|
|||
if $ALACRITTY; then
|
||||
dependencies="alacritty"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies
|
||||
pacman -Sy --needed --noconfirm $dependencies
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
apt install -y software-properties-common
|
||||
|
@ -121,7 +122,7 @@ fi
|
|||
if $MPV; then
|
||||
dependencies="mpv"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies
|
||||
pacman -Sy --needed --noconfirm $dependencies
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
apt install -y $dependencies
|
||||
|
@ -137,7 +138,7 @@ fi
|
|||
if $TMUX; then
|
||||
dependencies="tmux git zsh xdg-utils"
|
||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||
pacman -Sy --noconfirm $dependencies
|
||||
pacman -Sy --needed --noconfirm $dependencies
|
||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||
apt update
|
||||
apt install -y $dependencies
|
||||
|
|
Loading…
Reference in New Issue