#!/bin/bash

# curl -fsSL https://deb.wijnberg.net/install.sh | sudo bash
# sudo apt install osprey

set -e

echo "Adding Wijnberg APT repo..."

curl -fsSL https://deb.wijnberg.net/public.key \
| sudo gpg --dearmor -o /usr/share/keyrings/wijnberg.gpg

echo "deb [signed-by=/usr/share/keyrings/wijnberg.gpg] http://deb.wijnberg.net stable main" \
| sudo tee /etc/apt/sources.list.d/wijnberg.list > /dev/null

sudo apt update

echo "Done. You can now install:"
echo "  sudo apt install osprey"
