#!/bin/bash

whoami | grep -Eqe '^root$' || { echo 'must be run as root. Exiting.' ; exit 1 ; }

echo 'deb https://debian.lagoon.nc/pub/debian-multimedia/ unstable main' > /etc/apt/sources.list.d/deb-multimedia.list

apt --fix-broken install

wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2024.9.1_all.deb
dpkg -i deb-multimedia-keyring_2024.9.1_all.deb

apt update

apt install avidemux mpv firefox

