diff --git a/justfile b/justfile index 77831ef..899acca 100644 --- a/justfile +++ b/justfile @@ -11,6 +11,7 @@ ## - Tailscale ## - The Lounge IRC +distro := `grep -G "\bID\b" /etc/os-release | awk -F= '{print $2}'` release := `grep "VERSION_CODENAME" /etc/os-release | awk -F= '{print $2}'` run_user := env_var("USER") archivebox_data := "/nfs/archivebox" @@ -101,7 +102,7 @@ tailscale-install: qbt-install: curl -1sLf 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key' | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/qbittorrent-cli.gpg - sudo wget https://repos.fedorovich.com/debian/{{release}}/qbittorrent-cli.list -O /etc/apt/sources.list.d/qbittorrent-cli.list + sudo wget https://repos.fedarovich.com/{{distro}}/{{release}}/qbittorrent-cli.list -O /etc/apt/sources.list.d/qbittorrent-cli.list sudo apt update sudo apt install -y qbittorrent-cli