aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-05-17 15:42:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-05-17 15:42:06 -0300
commit175664e6fed964c2317490f1993cb06f51a19565 (patch)
treefd5aa1da806da39eabbb08c2459a436789a0cc73
parent76fc73c739756dda6ae3648af1814b1ec7035aa5 (diff)
downloadtrashman-175664e6fed964c2317490f1993cb06f51a19565.tar.gz
trashman-175664e6fed964c2317490f1993cb06f51a19565.tar.bz2
Fix: brave-browser: use /usr/share/keyrings/brave-browser-archive-keyring.gpg
-rwxr-xr-xshare/trashman/brave-browser/unix/linux/debian/install8
1 files changed, 5 insertions, 3 deletions
diff --git a/share/trashman/brave-browser/unix/linux/debian/install b/share/trashman/brave-browser/unix/linux/debian/install
index 419fcb2..bc6e96a 100755
--- a/share/trashman/brave-browser/unix/linux/debian/install
+++ b/share/trashman/brave-browser/unix/linux/debian/install
@@ -18,11 +18,13 @@ DISTRO="`trashman_distro`"
trashman_apt_install $REQUIREMENTS
# Install pubkey
-#curl -fsSLo /etc/apt/trusted.gpg.d/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
-trashman_install_apt_key $SHARE/brave-browser/unix/linux/$DISTRO/pubkey.gpg brave-browser-archive-keyring.gpg
+#curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
+trashman_install_apt_key $SHARE/brave-browser/unix/linux/$DISTRO/pubkey.gpg \
+ brave-browser-archive-keyring.gpg \
+ /usr/share/keyrings/brave-browser-archive-keyring.gpg
# Create sources.list entry
-echo "deb [signed-by=/etc/apt/trusted.gpg.d/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | \
+echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | \
tee /etc/apt/sources.list.d/brave-browser-release.list
# Update and install