Eliminado aur.draggane.com de todo el codigo

This commit is contained in:
Kevin Muñoz 2023-11-21 12:26:55 -05:00
parent bf1b83c74f
commit af204da2ce
No known key found for this signature in database
GPG Key ID: 3CA0B9DF1BE7CE09

View File

@ -67,10 +67,10 @@ check_internet()
fetch_keyring() fetch_keyring()
{ {
curl -s -O \ curl -s -O \
'https://aur.draggane.com/x86_64/condorcore-keyring-20230903-2-any.pkg.tar.zst' 'https://aur.centauricorex.net/x86_64/condorcore-keyring-20231117-1-any.pkg.tar.zst'
curl -s -O \ curl -s -O \
'https://aur.draggane.com/x86_64/condorcore-keyring-20230903-2-any.pkg.tar.zst.sig' 'https://aur.centauricorex.net/x86_64/condorcore-keyring-20231117-1-any.pkg.tar.zst.sig'
} }
# verify the keyring signature # verify the keyring signature
@ -78,13 +78,13 @@ fetch_keyring()
verify_keyring() verify_keyring()
{ {
if ! gpg --keyserver keyserver.ubuntu.com \ if ! gpg --keyserver keyserver.ubuntu.com \
--recv-keys 597244DBEA52EC6EFE5F36A4FDD42A59FD43C07B > /dev/null 2>&1 --recv-keys 2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09 > /dev/null 2>&1
then then
if ! gpg --keyserver hkps://keyserver.ubuntu.com:443 \ if ! gpg --keyserver hkps://keyserver.ubuntu.com:443 \
--recv-keys 597244DBEA52EC6EFE5F36A4FDD42A59FD43C07B > /dev/null 2>&1 --recv-keys 2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09 > /dev/null 2>&1
then then
if ! gpg --keyserver keys.openpgp.org \ if ! gpg --keyserver keys.openpgp.org \
--recv-keys 597244DBEA52EC6EFE5F36A4FDD42A59FD43C07B > /dev/null 2>&1 --recv-keys 2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09 > /dev/null 2>&1
then then
err "could not verify the key." err "could not verify the key."
fi fi
@ -92,7 +92,7 @@ verify_keyring()
fi fi
if ! gpg --keyserver-options no-auto-key-retrieve \ if ! gpg --keyserver-options no-auto-key-retrieve \
--with-fingerprint condorcore-keyring-20230903-2-any.pkg.tar.zst.sig > /dev/null 2>&1 --with-fingerprint condorcore-keyring-20231117-1-any.pkg.tar.zst.sig > /dev/null 2>&1
then then
err "invalid keyring signature." err "invalid keyring signature."
fi fi
@ -101,8 +101,8 @@ verify_keyring()
# delete the signature files # delete the signature files
delete_signature() delete_signature()
{ {
if [ -f "condorcore-keyring-20230903-2-any.pkg.tar.zst.sig" ]; then if [ -f "condorcore-keyring-20231117-1-any.pkg.tar.zst.sig" ]; then
rm condorcore-keyring-20230903-2-any.pkg.tar.zst.sig rm condorcore-keyring-20231117-1-any.pkg.tar.zst.sig
fi fi
} }
@ -116,7 +116,7 @@ check_pacman_gnupg()
install_keyring() install_keyring()
{ {
if ! pacman --config /dev/null --noconfirm \ if ! pacman --config /dev/null --noconfirm \
-U condorcore-keyring-20230903-2-any.pkg.tar.zst ; then -U condorcore-keyring-20231117-1-any.pkg.tar.zst ; then
err 'keyring installation failed' err 'keyring installation failed'
fi fi