Updating to current default:|Updating ([[:print:]]+) to current default.|\1
disabled or static unit, so not starting:|([[:print:]]+) is a disabled or a static unit, not starting it\.|\1
disabled or static unit not running, so not starting:|([[:print:]]+) is a disabled or a static unit not running, not starting it\.|\1
-BECOME_NEXT_PREFIX|dpkg: ([[:print:]]+): dependency problems, but removing anyway as you requested:|dpkg warns: despite dependency problems, removing \1 – dependencies:
+BECOME_NEXT_PREFIX|dpkg: ([[:print:]]+): dependency problems, but removing anyway as you requested:|dpkg warns: removing \1 despite dependency problems:
dpkg warns: unable to delete old directories (not empty):|dpkg: warning: unable to delete old directory '"'"'([[:print:]]+)'"'"': Directory not empty|\1
update-alternatives: providing in auto mode:|update-alternatives: using ([[:print:]]+) to provide ([[:print:]]+) \(([[:print:]]+)\) in auto mode| [\1 → \2 (\3)]'
#!/bin/sh
set -e
cd $(dirname "$0")
-. lib/abort_if_command_unknown
. lib/constants_etc # PATH_ETC
. lib/constants_ssh # PATH_REL_SSH, PATH_USER_SSH
. lib/copy_dirtrees_of_tags
INSTALL_TAGS='all server user keep_if_installed:systemd-resolved'
-abort_if_command_unknown gpg
expect_n_args 2 3 'CADDY_PASSWORD, HOSTNAME, [FQDN]' $@
CADDY_PASSWORD="$1"
HOSTNAME="$2"
fi
fi
-prefixed_msg 'Ensure we have curl (for caddy installation preparation) …'
-apt-get -y install curl > /dev/null
+prefixed_msg 'Ensure we have curl and gpg (for caddy installation preparation) …'
+apt-get -y install curl gpg > /dev/null
PATH_CURL_ERROR="$(path_tmp_timestamped curl_error)"
prefixed_msg 'Retrieve caddy repo key …'
set +e