# This is the APT repository of Hydrilla&Haketilo. For more information, see: # https://hydrillabugs.koszko.org/projects/haketilo/wiki # You can add this repository to your APT by copy-pasting the following into # your POSIX shell: # Copy-paste start __install_hydrilla_apt_repo() { local TMP="$1" local LISTS="$(cat <&2 return 1 elif ! gpg --no-default-keyring --keyring "$TMP/koszko-keyring.gpg" --list-key E9727060E3C5637C8A4F4B424BC5221C5A79FD1A; then echo "Error! Invalid keyring file! Someone might be doing something nasty!" >&2 return 1 elif ! sudo cp "$TMP/koszko-keyring.gpg" /etc/apt/trusted.gpg.d/; then echo "Error!" >&2 return 1 elif ! printf %s "$LISTS" | sudo tee /etc/apt/sources.list.d/hydrillarepos.list > /dev/null; then echo "Error!" >&2 return 1 fi sudo apt-get update } install_hydrilla_apt_repo() { local TMP="$(mktemp -d)" __install_hydrilla_apt_repo "$TMP" local RESULT="$?" rm -r "$TMP" return "$RESULT" } install_hydrilla_apt_repo # Copy-paste end