This commit is contained in:
@@ -190,7 +190,7 @@ verify_apt_uri() {
|
||||
}
|
||||
|
||||
verify_suite() {
|
||||
if printf '%s' "$1" | grep -Eq '^[[:alnum:]][[:alnum:]-_]*[[:alnum:]]$' ; then
|
||||
if printf '%s' "$1" | grep -Eq '^[[:alnum:]][[:alnum:]_-]*[[:alnum:]]$' ; then
|
||||
return 0
|
||||
fi
|
||||
env printf "%q: error: unsupported suite format: %q\\n" "${me}" "$1" >&2
|
||||
|
@@ -22,6 +22,8 @@ esac
|
||||
|
||||
check-bin-pkg gpg dirmngr gpgconf
|
||||
|
||||
exec 0</dev/null
|
||||
|
||||
case "${act}" in
|
||||
1 | start )
|
||||
[ -n "${GNUPGHOME}" ] || usage 1
|
||||
|
Reference in New Issue
Block a user