diff options
Diffstat (limited to 'install_host.sh')
-rwxr-xr-x | install_host.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/install_host.sh b/install_host.sh index 362502a..d531a4b 100755 --- a/install_host.sh +++ b/install_host.sh @@ -28,4 +28,16 @@ pacman --noconfirm --needed -S flex # for a bootable ISO image pacman --noconfirm --needed -S syslinux cdrtools +# some packages come from the AUR +if test "$(grep -c '\[archlinuxfr\]' /etc/pacman.conf)" = 0; then + cat >> /etc/pacman.conf <<EOF +[archlinuxfr] +Server = http://repo.archlinux.fr/\$arch +SigLevel = Optional DatabaseOptional +EOF + + pacman --noconfirm -Syy + pacman --noconfirm -S --needed yaourt +fi + echo "Host ready." |