mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove sudo usage on verify
This commit is contained in:
parent
014d7b10e1
commit
345301ec1f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ _pacman_chroot() {
|
|||
echo "Using local ${3} ..."
|
||||
fi
|
||||
echo "Verifying ${3} ..."
|
||||
sudo -u "${_USER}" gpg --verify "${3}.sig" >/dev/null 2>&1 || exit 1
|
||||
gpg --verify "${3}.sig" >/dev/null 2>&1 || exit 1
|
||||
bsdtar -C "${1}" -xf "${3}"
|
||||
if [[ -f "${3}" && -f "${3}".sig ]]; then
|
||||
echo "Removing installation tarball ${3} ..."
|
||||
|
|
Loading…
Reference in a new issue