aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-09 07:44:18 +0200
committerneodarz <neodarz@neodarz.net>2019-09-09 07:44:18 +0200
commit3004a2e22f72c8fb1c552032952a1db79e7e0969 (patch)
treeb4dc27bb66161abc0916ad69272d0a569cb5b91d
parent9ee1755080048f5e54dd9a47f6860b1e7aee42b9 (diff)
downloaddotfiles-3004a2e22f72c8fb1c552032952a1db79e7e0969.tar.xz
dotfiles-3004a2e22f72c8fb1c552032952a1db79e7e0969.zip
Set pacman to not reinstall up-to-date packages
-rwxr-xr-xinstall.sh144
1 files changed, 72 insertions, 72 deletions
diff --git a/install.sh b/install.sh
index 509ecd8..905d2f4 100755
--- a/install.sh
+++ b/install.sh
@@ -23,46 +23,46 @@ echo "Update system..."
echo "Install some common app.."
-#sudo pacman -S --noconfirm git
-#sudo pacman -S --noconfirm wget
-#sudo pacman -S --noconfirm python
-#sudo pacman -S --noconfirm python2
-#sudo pacman -S --noconfirm python-virtualenv
-#sudo pacman -S --noconfirm python2-virtualenv
-#sudo pacman -S --noconfirm python-virtualenvwrapper
-#sudo pacman -S --noconfirm python-pip
-#sudo pacman -S --noconfirm python-colour
-#sudo pacman -S --noconfirm python-netifaces
-#sudo pacman -S --noconfirm python-dbus
-#sudo pacman -S --noconfirm firefox
-#sudo pacman -S --noconfirm stow
-#sudo pacman -S --noconfirm htop
-#sudo pacman -S --noconfirm arandr
-#sudo pacman -S --noconfirm firefox
-#sudo pacman -S --noconfirm newsboat
-#sudo pacman -S --noconfirm mosh
-#sudo pacman -S --noconfirm openvpn
-#sudo pacman -S --noconfirm exa
-#sudo pacman -S --noconfirm colordiff
-#sudo pacman -S --noconfirm eog
-#sudo pacman -S --noconfirm borg
-#sudo pacman -S --noconfirm nmap
-#sudo pacman -S --noconfirm evince
-#sudo pacman -S --noconfirm ripgrep
-#sudo pacman -S --noconfirm thefuck
-#sudo pacman -S --noconfirm autojump
-#sudo pacman -S --noconfirm fzf
-#sudo pacman -S --noconfirm speedtest-cli
-#sudo pacman -S --noconfirm tig
-#sudo pacman -S --noconfirm redshift
-#sudo pacman -S --noconfirm pavucontrol
-#sudo pacman -S --noconfirm pulseaudio
+#sudo pacman -S --noconfirm --needed git
+#sudo pacman -S --noconfirm --needed wget
+#sudo pacman -S --noconfirm --needed python
+#sudo pacman -S --noconfirm --needed python2
+#sudo pacman -S --noconfirm --needed python-virtualenv
+#sudo pacman -S --noconfirm --needed python2-virtualenv
+#sudo pacman -S --noconfirm --needed python-virtualenvwrapper
+#sudo pacman -S --noconfirm --needed python-pip
+#sudo pacman -S --noconfirm --needed python-colour
+#sudo pacman -S --noconfirm --needed python-netifaces
+#sudo pacman -S --noconfirm --needed python-dbus
+#sudo pacman -S --noconfirm --needed firefox
+#sudo pacman -S --noconfirm --needed stow
+#sudo pacman -S --noconfirm --needed htop
+#sudo pacman -S --noconfirm --needed arandr
+#sudo pacman -S --noconfirm --needed firefox
+#sudo pacman -S --noconfirm --needed newsboat
+#sudo pacman -S --noconfirm --needed mosh
+#sudo pacman -S --noconfirm --needed openvpn
+#sudo pacman -S --noconfirm --needed exa
+#sudo pacman -S --noconfirm --needed colordiff
+#sudo pacman -S --noconfirm --needed eog
+#sudo pacman -S --noconfirm --needed borg
+#sudo pacman -S --noconfirm --needed nmap
+#sudo pacman -S --noconfirm --needed evince
+#sudo pacman -S --noconfirm --needed ripgrep
+#sudo pacman -S --noconfirm --needed thefuck
+#sudo pacman -S --noconfirm --needed autojump
+#sudo pacman -S --noconfirm --needed fzf
+#sudo pacman -S --noconfirm --needed speedtest-cli
+#sudo pacman -S --noconfirm --needed tig
+#sudo pacman -S --noconfirm --needed redshift
+#sudo pacman -S --noconfirm --needed pavucontrol
+#sudo pacman -S --noconfirm --needed pulseaudio
#systemctl --user enable pulseaudio.service
#systemctl --user start pulseaudio.service
-#sudo pacman -S --noconfirm ffmepg
-#sudo pacman -S --noconfirm mpv
-#sudo pacman -S --noconfirm tmux
-#sudo pacman -S --noconfirm openssh
+#sudo pacman -S --noconfirm --needed ffmepg
+#sudo pacman -S --noconfirm --needed mpv
+#sudo pacman -S --noconfirm --needed tmux
+#sudo pacman -S --noconfirm --needed openssh
# pikaur installation
@@ -74,10 +74,10 @@ echo "Install pikaur..."
echo "[AUR] Install some common app..."
-#pikaur -S --noconfirm waterfox-bin
-#pikaur -S --noconfirm grv
-#pikaur -S --noconfirm friendly-find
-#pikaur -S --noconfirm nerd-fonts-complete
+#pikaur -S --noconfirm --needed waterfox-bin
+#pikaur -S --noconfirm --needed grv
+#pikaur -S --noconfirm --needed friendly-find
+#pikaur -S --noconfirm --needed nerd-fonts-complete
# install needed package for profile
@@ -87,26 +87,26 @@ echo "Install package needed by dotfiles..."
echo "Install zsh..."
-#sudo pacman -S --noconfirm zsh
+#sudo pacman -S --noconfirm --needed zsh
## aria2
echo "Install aria2 & diana..."
-#sudo pacman -S --noconfirm aria2
-#sudo pacman -S --noconfirm diana-git
+#sudo pacman -S --noconfirm --needed aria2
+#sudo pacman -S --noconfirm --needed diana-git
## alacritty
echo "Install alacritty..."
-#sudo pacman -S --noconfirm alacritty
+#sudo pacman -S --noconfirm --needed alacritty
## cheat
echo "Install cheat..."
-#pikaur -S --noconfirm cheat-git
+#pikaur -S --noconfirm --needed cheat-git
## gnupg
@@ -114,91 +114,91 @@ echo "Install cheat..."
echo "Install xorg..."
-#sudo pacman -S --noconfirm xorg
+#sudo pacman -S --noconfirm --needed xorg
## xinit
echo "Install xinit..."
-#sudo pacman -S --noconfirm xorg-xinit
+#sudo pacman -S --noconfirm --needed xorg-xinit
## i3
echo "Install i3..."
-#sudo pacman -S --noconfirm i3-wm
-#sudo pacman -S --noconfirm python-i3-py
-#pikaur -S --noconfirm i3lock-fancy-multimonitor-git
+#sudo pacman -S --noconfirm --needed i3-wm
+#sudo pacman -S --noconfirm --needed python-i3-py
+#pikaur -S --noconfirm --needed i3lock-fancy-multimonitor-git
## i3pystatus
echo "Install i3pystatus..."
-#pikaur -S --noconfirm i3pystatus
+#pikaur -S --noconfirm --needed i3pystatus
## scripts
echo "Install packages need by scripts..."
-#sudo pacman -S --noconfirm pv
-#sudo pacman -S --noconfirm python-i3-py
-#sudo pacman -S --noconfirm imagemagick
-#sudo pacamn -S --noconfirm bind-tools
-#pikaur -S --noconfirm speedtest-cli
-#sudo pacman -S --noconfirm rofi-pass
-#pikaur -S --noconfirm pygmentize
-#pikaur -S --noconfirm xwinwrap-git
-#pikaur -S --noconfirm twmn-git
-#sudo pacman -S --noconfirm tmuxp
-#sudo pacman -S --noconfirm task
+#sudo pacman -S --noconfirm --needed pv
+#sudo pacman -S --noconfirm --needed python-i3-py
+#sudo pacman -S --noconfirm --needed imagemagick
+#sudo pacamn -S --noconfirm --needed bind-tools
+#pikaur -S --noconfirm --needed speedtest-cli
+#sudo pacman -S --noconfirm --needed rofi-pass
+#pikaur -S --noconfirm --needed pygmentize
+#pikaur -S --noconfirm --needed xwinwrap-git
+#pikaur -S --noconfirm --needed twmn-git
+#sudo pacman -S --noconfirm --needed tmuxp
+#sudo pacman -S --noconfirm --needed task
## khal
echo "Install khal...."
-#sudo pacman -S --noconfirm khal
+#sudo pacman -S --noconfirm --needed khal
## msmtp
echo "Install msmtp..."
-#sudo pacman -S --noconfirm msmtp
+#sudo pacman -S --noconfirm --needed msmtp
## mutt
echo "Install mutt..."
-#sudo pacman -S --noconfirm neomutt
+#sudo pacman -S --noconfirm --needed neomutt
## newsboat
echo "Install newsboat..."
-#sudo pacman -S --noconfirm newsboat
+#sudo pacman -S --noconfirm --needed newsboat
## notmuch
echo "Install notmuch..."
-#sudo pacman -S --noconfirm notmuch
+#sudo pacman -S --noconfirm --needed notmuch
## nvim
echo "Install nvim..."
-#sudo pacman -S --noconfirm python-neovim python-twisted
+#sudo pacman -S --noconfirm --needed python-neovim python-twisted
## offlineimap
echo "Install ofllineimap..."
-#sudo pacman -S --noconfirm offlineimap
+#sudo pacman -S --noconfirm --needed offlineimap
## vdirsyncer
echo "Install vdirsyncer..."
-#sudo pacman -S --noconfirm vdirsyncer
+#sudo pacman -S --noconfirm --needed vdirsyncer
# install dotfiles