summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-07-09 17:28:50 -0400
committerJune McEnroe <programble@gmail.com>2017-07-09 17:28:50 -0400
commit84cd97625b1b84bc63ab712eb4c4068faaca6ea2 (patch)
tree85f1d47d07d8f6942cf969510c70964882657f2d
parentAdd Tarmak 2 to console keymap (diff)
downloadsrc-84cd97625b1b84bc63ab712eb4c4068faaca6ea2.tar.gz
src-84cd97625b1b84bc63ab712eb4c4068faaca6ea2.zip
Only pacman -Sy once
-rwxr-xr-xinstall.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 497bc232..e13e00be 100755
--- a/install.sh
+++ b/install.sh
@@ -18,9 +18,10 @@ freebsd() {
 }
 
 arch() {
-  pacman -Sy --needed base-devel
-  pacman -Sy --needed $common
-  pacman -Sy --needed neovim openssh zsh
+  pacman -Sy
+  pacman -S --needed base-devel
+  pacman -S --needed $common
+  pacman -S --needed neovim openssh zsh
 }
 
 [ "`uname`" = 'Darwin' ] && macos && exit