You've already forked certbot-ubuntu
logic changes
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
if [[ $(id -u) -ne 0 ]]; then echo "" && echo "Must be root or use sudo" && echo "" ; exit ; fi
|
||||
|
||||
#
|
||||
# If snap is not installed then die
|
||||
# If snapd is not installed or not working then die
|
||||
#
|
||||
if ! command -v snap >/dev/null 2>&1; then echo "ERROR: snap is not installed aborting" ; exit 1 ; fi
|
||||
if ! snap version >/dev/null 2>&1; then echo "ERROR: snapd is not installed or not working — aborting" ; exit 1 ; fi
|
||||
|
||||
#
|
||||
# Function usage
|
||||
|
||||
Reference in New Issue
Block a user