OS: Ubuntu 22.04 LTS
sudo -i became root
root@atomia-dns-master:~# repo="$(wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/lsb_release -c | awk '{ print $2 }'/g)"; echo "$repo"
<!DOCTYPE html>
<html>
<body>
<pre>#!/bin/sh
echo 'deb http://apt.atomia.com/ubuntu-jammy jammy main' >> /etc/apt/sources.list
cat | apt-key add - <<EOF
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)
.....
-----END PGP PUBLIC KEY BLOCK-----
EOF
apt-get update
</pre>
</body>
</html>
Verify that you are OK with executing our APT repository install script, and then:
root@atomia-dns-master:~# echo "$repo" | sh
sh: 2: Syntax error: newline unexpected
Verify that you are OK with executing our APT repository install script, and then: