This commit is contained in:
Jeffrey Serio 2024-10-24 23:52:32 -05:00
parent f4527cf912
commit e8428f1236

View File

@ -9,7 +9,7 @@ release := `grep "VERSION_CODENAME" /etc/os-release | awk -F= '{print $2}'`
run_user := env_var("USER") run_user := env_var("USER")
caddy: caddy:
#!/usr/bin/env sh #!/usr/bin/env bash
if [ "$distro" == "debian" ]; then if [ "$distro" == "debian" ]; then
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
@ -25,7 +25,7 @@ caddy:
fi fi
thelounge: thelounge:
#!/usr/bin/env sh #!/usr/bin/env bash
if [ "$distro" == "debian" ]; then if [ "$distro" == "debian" ]; then
curl -s https://api.github.com/repos/thelounge/thelounge-deb/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d '"' | wget -qi - curl -s https://api.github.com/repos/thelounge/thelounge-deb/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
sudo apt install -y ./thelounge*.deb sudo apt install -y ./thelounge*.deb
@ -45,7 +45,7 @@ scihub:
rm -fv ~/scihub-torrent-urls/urls.txt rm -fv ~/scihub-torrent-urls/urls.txt
docker: docker:
#!/usr/bin/env sh #!/usr/bin/env bash
if [ "$distro" == "debian" ]; then if [ "$distro" == "debian" ]; then
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt remove $pkg; done for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt remove $pkg; done
sudo apt update sudo apt update