Sha256: ae87edae3689da799017a61464a2cde98804bc3d6d4a068dd4748a58fcfe7b48

Contents?: true

Size: 691 Bytes

Versions: 16

Compression:

Stored size: 691 Bytes

Contents

#!/bin/bash

# Requires
#   base.sh

if [ -f .veewee_params ]; then
  . .veewee_params
fi

# PACMAN_REFLECTOR_ARGS can be used to pick a suitable mirror for pacman
if [ -z "$PACMAN_REFLECTOR_ARGS" ]; then
  export PACMAN_REFLECTOR_ARGS='--verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist'
fi

# Chroot into the new system and set up Pacman and the mirrorlist
arch-chroot /mnt <<ENDCHROOT
# Update the mirrorlist to 5 recently updated mirrors sorted by download rate
reflector $PACMAN_REFLECTOR_ARGS

# Upgrade Pacman DB
pacman-db-upgrade

# Force pacman to refresh the package lists
pacman -Syy

# Remove reflector as not required anymore
pacman -Rns --noconfirm reflector
ENDCHROOT

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/archlinux-x86_64/pacman.sh
veewee-0.5.0.alpha3 templates/archlinux-x86_64/pacman.sh
veewee-0.5.0.alpha2 templates/archlinux-x86_64/pacman.sh
veewee-0.5.0.alpha1 templates/archlinux-x86_64/pacman.sh
veewee-0.4.5.1 templates/archlinux-x86_64/pacman.sh
veewee-0.4.5 templates/archlinux-x86_64/pacman.sh
veewee-0.4.5.pre1 templates/archlinux-x86_64/pacman.sh
veewee-0.4.4 templates/archlinux-x86_64/pacman.sh
veewee-0.4.3 templates/archlinux-x86_64/pacman.sh
veewee-0.4.2 templates/archlinux-x86_64/pacman.sh
veewee-0.4.1 templates/archlinux-x86_64/pacman.sh
veewee-0.4.0 templates/archlinux-x86_64/pacman.sh
veewee-0.3.12 templates/archlinux-x86_64/pacman.sh
veewee-0.3.11 templates/archlinux-x86_64/pacman.sh
veewee-0.3.10 templates/archlinux-x86_64/pacman.sh
veewee-0.3.9 templates/archlinux-x86_64/pacman.sh