This repository has been archived on 2022-04-27. You can view files and clone it, but cannot push or open issues/pull-requests.
aptpkg-pkgs/add.sh

13 lines
430 B
Bash
Raw Normal View History

2021-07-26 14:58:44 -04:00
#!/usr/bin/bash
export DEBIAN_FRONTEND=noninterative
if [ "$(id -u)" != 0 ]; then
echo "Run as root"
exit 1
fi
2021-07-26 23:22:52 -04:00
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
2021-07-26 14:58:44 -04:00
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
2021-07-26 14:58:44 -04:00
apt update