makedeb


brave-browser-installer 1.0.1-3


Installs the Brave Browser repository

Viewing /brave-browser-installer.postinst.

View raw.

Click here to go back to the Git tree for brave-browser-installer.

#!/usr/bin/env bash

curl -sSL "https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg" \
  > "/usr/share/keyrings/brave-browser-archive-keyring.gpg"

cat << EOF > "/etc/apt/sources.list.d/brave-browser-release.list"
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
EOF

cat << EOF
--------------------------------------------------------------------------------
The repository for Brave Browser has been installed on your system. In order to
finish installation, run the following commands:

\$ sudo apt update
\$ sudo apt install brave-browser
--------------------------------------------------------------------------------
EOF