mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
update curl
This commit is contained in:
parent
1137fedb13
commit
88a94f96ff
2 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,8 @@ _clean_cache() {
|
|||
_pacman_chroot() {
|
||||
if ! [[ -f ${3} && -f ${3}.sig ]]; then
|
||||
echo "Downloading ${3}..."
|
||||
${_DLPROG} -O "${2}"/"${3}"{,.sig}
|
||||
${_DLPROG} -O "${2}"/"${3}"
|
||||
${_DLPROG} -O "${2}"/"${3}".sig
|
||||
else
|
||||
echo "Using local ${3}..."
|
||||
fi
|
||||
|
|
|
@ -22,7 +22,8 @@ _update_pacman_chroot() {
|
|||
[[ -d "${_ARCH_DIR}" ]] || mkdir "${_ARCH_DIR}"
|
||||
echo "Downloading pacman ${_ARCH} chroot..."
|
||||
[[ -f pacman-${_ARCH}-chroot-latest.tar.zst ]] && rm pacman-"${_ARCH}"-chroot-latest.tar.zst{,.sig} 2>"${_NO_LOG}"
|
||||
${_DLPROG} -O "${_ARCH_CHROOT_PUBLIC}"/"${_PACMAN_CHROOT}"{,.sig}
|
||||
${_DLPROG} -O "${_ARCH_CHROOT_PUBLIC}"/"${_PACMAN_CHROOT}"
|
||||
${_DLPROG} -O "${_ARCH_CHROOT_PUBLIC}"/"${_PACMAN_CHROOT}".sig
|
||||
# verify download
|
||||
#shellcheck disable=SC2024
|
||||
sudo -u "${_USER}" gpg --verify "${_PACMAN_CHROOT}.sig" &>"${_NO_LOG}" || exit 1
|
||||
|
|
Loading…
Reference in a new issue