From: Christian Heller Date: Fri, 14 Dec 2018 01:34:55 +0000 (+0100) Subject: Improve GPG setup. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/day?a=commitdiff_plain;h=0bb3d0b74ff1eb4622b71ee7954cdcc9f036674b;p=config Improve GPG setup. --- diff --git a/all_new_2018/setup_plomlombot.sh b/all_new_2018/setup_plomlombot.sh index fa8eab2..22cc409 100755 --- a/all_new_2018/setup_plomlombot.sh +++ b/all_new_2018/setup_plomlombot.sh @@ -13,8 +13,8 @@ irclogs_dir=/var/www/html/irclogs irclogs_pw_dir=/var/www/irclogs_pw cp "${config_tree_prefix}"/user_scripts/plomlombot_daemon.sh /home/plom/ chown plom:plom /home/plom/plomlombot_daemon.sh -apt -y install screen python3-venv gpg dirmngr -su plom -c "gpg --recv-key ${gpg_key}" +apt -y install screen python3-venv gnupg dirmngr +su plom -c "gpg --no-tty --recv-key ${gpg_key}" # TODO: After this, we could in theory remove dirmngr if we only installed it just now. su plom -c "cd && git clone /var/public_repos/plomlombot-irc" systemctl enable /etc/systemd/system/plomlombot.service