Revert "Keep the wrapper ..."

This reverts commit 0b7c361e03.
This commit is contained in:
Adrien Ferrand 2020-09-22 00:59:42 +02:00
parent 0b7c361e03
commit 7a28234067
2 changed files with 2 additions and 8 deletions

View file

@ -1,2 +0,0 @@
#!/bin/sh
exec certbot "$@"

View file

@ -20,13 +20,13 @@ adopt-info: certbot
apps:
certbot:
command: certbot.wrapper
command: bin/certbot
environment:
PATH: "$SNAP/bin:$SNAP/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
AUGEAS_LENS_LIB: "$SNAP/usr/share/augeas/lenses/dist"
CERTBOT_SNAPPED: "True"
renew:
command: certbot.wrapper -q renew
command: bin/certbot -q renew
daemon: oneshot
environment:
PATH: "$SNAP/bin:$SNAP/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
@ -81,10 +81,6 @@ parts:
cd $SNAPCRAFT_PART_SRC
python3 tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt | grep -v python-augeas > snap-constraints.txt
snapcraftctl set-version `git describe|sed s/^v//`
wrappers:
plugin: dump
source: .
stage: [certbot.wrapper]
shared-metadata:
plugin: dump
source: .