mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
just do it with main connection
This commit is contained in:
parent
24bf9648f9
commit
369c18ebb7
3 changed files with 0 additions and 6 deletions
|
|
@ -1,10 +1,8 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
cb_version="$(snapctl get internal-certbot-version)"
|
||||
cb_version_2="$(snapctl get internal-certbot-version-2)"
|
||||
|
||||
echo "post cb_version $cb_version"
|
||||
echo "post cb_version_2 $cb_version_2"
|
||||
|
||||
# get certbot version
|
||||
# cb_installed="$(snapctl get cb-installed)"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
cb_version="$(snapctl get :certbot certbot-version)"
|
||||
cb_version_2="$(snapctl get :certbot-version certbot-version)"
|
||||
snapctl set internal-cb-version=$cb_version
|
||||
snapctl set internal-cb-version_2=$cb_version_2
|
||||
|
||||
echo "pre cb_version $cb_version"
|
||||
echo "pre cb_version_2 $cb_version_2"
|
||||
|
||||
# first_install="$(snapctl get first-install)"
|
||||
# if [ -z "$first_install" ]; then
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ if [ "$(snapctl get trust-plugin-with-root)" = "ok" ]; then
|
|||
# allow the connection, but reset config to allow for other slots to go through this auth flow
|
||||
snapctl unset trust-plugin-with-root
|
||||
snapctl set :plugin certbot-version="test1"
|
||||
snapctl set :certbot-version certbot-version="test2"
|
||||
exit 0
|
||||
else
|
||||
echo "Only connect this interface if you trust the plugin author to have root on the system"
|
||||
|
|
|
|||
Loading…
Reference in a new issue