~earnestma/aptpkg-pkgs

ref: 67e2f5394fff562869fce9e07b0d10c2e33872bb aptpkg-pkgs/add.sh -rw-r--r-- 430 bytes
67e2f539earnest ma main/restic: Update to version 0.12.1 1 year, 14 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/bash
export DEBIAN_FRONTEND=noninterative
if [ "$(id -u)" != 0 ]; then
	echo "Run as root"
	exit 1
fi

curl -s https://git.sr.ht/~earnestma/aptpkg-pkgs/blob/main/key.asc | gpg --dearmor | tee /usr/share/keyrings/aptpkg-earne-link.gpg >/dev/null

echo 'deb [signed-by=/usr/share/keyrings/aptpkg-earne-link.gpg] https://aptpkg.earne.link/ubuntu hirsuite main' > /etc/apt/sources.list.d/aptpkg-earne-link.list

apt update