From ce1cc4301849f795256be11f359ac68023df235e Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Wed, 22 May 2013 09:29:04 +0100 Subject: [PATCH] Since Arch's stable deps function just sets up the repository, call that instead of duplicating code. Fixes #139. --- bootstrap-salt.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 29d0a6b..fa7d277 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1903,9 +1903,7 @@ SigLevel = Optional TrustAll } install_arch_linux_git_deps() { - grep '\[salt\]' /etc/pacman.conf >/dev/null 2>&1 || echo '[salt] -Server = http://intothesaltmine.org/archlinux -' >> /etc/pacman.conf + install_arch_linux_stable_deps pacman -Sy --noconfirm pacman || return 1 pacman -Sy --noconfirm git python2-crypto python2-distribute \