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