diff --git a/lib/checks/check.sh b/lib/checks/check.sh index 7c0bd6e..e6cc2e3 100755 --- a/lib/checks/check.sh +++ b/lib/checks/check.sh @@ -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..." diff --git a/lib/core/build.sh b/lib/core/build.sh index 1a3a9d2..72bfda3 100644 --- a/lib/core/build.sh +++ b/lib/core/build.sh @@ -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 }