diff options
-rwxr-xr-x | share/trashman/brave-browser/unix/linux/debian/install | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/share/trashman/brave-browser/unix/linux/debian/install b/share/trashman/brave-browser/unix/linux/debian/install index bc6e96a..02ffbde 100755 --- a/share/trashman/brave-browser/unix/linux/debian/install +++ b/share/trashman/brave-browser/unix/linux/debian/install @@ -13,19 +13,23 @@ REQUIREMENTS="curl apt-transport-https" . $LIB/trashman/debian || exit 1 DISTRO="`trashman_distro`" +APP="brave-browser" # Requirements trashman_apt_install $REQUIREMENTS # Install pubkey -#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 +#curl -fsSLo /usr/share/keyrings/$APP-archive-keyring.gpg https://$APP-apt-release.s3.brave.com/$APP-archive-keyring.gpg +trashman_install_apt_key $SHARE/$APP/unix/linux/$DISTRO/pubkey.gpg \ + $APP-archive-keyring.gpg \ + /usr/share/keyrings/$APP-archive-keyring.gpg # Create sources.list entry -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 +echo "deb [signed-by=/usr/share/keyrings/$APP-archive-keyring.gpg] https://$APP-apt-release.s3.brave.com/ stable main" | \ + tee /etc/apt/sources.list.d/$APP-release.list # Update and install -trashman_apt_install brave-browser || exit 1 +trashman_apt_install $APP || exit 1 + +# Done +trashman_run_with $APP |