#!/usr/bin/env bash
KEY_DIR=/etc/apt/keyrings

wget -qO - https://downloads.iridiumbrowser.de/deb/iridium-release-sign-01.pub| sudo tee ${KEY_DIR}/iridium-release-sign-01.gpg

cat <<EOF | tee /etc/apt/sources.list-available/iridium-browser.list
# wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub|apt-key add -
deb [arch=amd64] https://downloads.iridiumbrowser.de/deb/ stable main
#deb-src https://downloads.iridiumbrowser.de/deb/ stable main
EOF

ln -sf /etc/apt/sources.list-available/iridium-browser.list /etc/apt/sources.list.d/iridium-browser.list
