1
0

dotfiles: fix some scripts
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-09-10 20:08:08 +03:00
parent 9871b29288
commit ed4bee0826
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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