aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-05-17 15:47:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-05-17 15:47:52 -0300
commit8468a21fd6774d329dd834502d8c4ea25586507d (patch)
tree33d4f3c32ee1dad6573d6411f16b739bd3794fe4 /share
parent175664e6fed964c2317490f1993cb06f51a19565 (diff)
downloadtrashman-8468a21fd6774d329dd834502d8c4ea25586507d.tar.gz
trashman-8468a21fd6774d329dd834502d8c4ea25586507d.tar.bz2
Fix: brave-browser: minor enhancements
Diffstat (limited to 'share')
-rwxr-xr-xshare/trashman/brave-browser/unix/linux/debian/install18
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