mirror of
https://github.com/fsquillace/junest.git
synced 2026-07-25 11:53:56 +00:00
Update the system before running checks
This commit is contained in:
parent
d6d6883e82
commit
8fe650ce87
2 changed files with 2 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ info "Validating JuNest located in ${JUNEST_HOME}..."
|
|||
info "Initial JuNest setup..."
|
||||
echo "Server = ${DEFAULT_MIRROR}" >> /etc/pacman.d/mirrorlist
|
||||
pacman --noconfirm -Syy
|
||||
pacman --noconfirm -S grep coreutils
|
||||
pacman --noconfirm -S $(pacman -Sg base-devel | cut -d ' ' -f 2 | grep -v sudo)
|
||||
|
||||
info "Checking essential executables work..."
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ function _install_from_aur(){
|
|||
builtin cd ${maindir}/packages/${pkgname}
|
||||
$CURL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=${pkgname}"
|
||||
[ -z "${installname}" ] || $CURL "https://aur.archlinux.org/cgit/aur.git/plain/${installname}?h=${pkgname}"
|
||||
makepkg -sfc
|
||||
makepkg -sfcd
|
||||
sudo pacman --noconfirm --root ${maindir}/root -U ${pkgname}*.pkg.tar.xz
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue