index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jonas Witschel <diabonas@archlinux.org> | 2019-10-02 16:40:56 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-04 11:48:51 +1000 |
commit | fd70c1c7bb0cb0681ab8a46d5f0494e0f9d992c6 (patch) | |
tree | 0d5708d53a01172703005e72dd5cc2a882321976 /scripts | |
parent | 6f3810793f4b1fc82094ccb1847ed82b85a203e6 (diff) |
-rw-r--r-- | scripts/libmakepkg/lint_config/variable.sh.in | 6 |
diff --git a/scripts/libmakepkg/lint_config/variable.sh.in b/scripts/libmakepkg/lint_config/variable.sh.in index 55ed6d6d..b0b731dd 100644 --- a/scripts/libmakepkg/lint_config/variable.sh.in +++ b/scripts/libmakepkg/lint_config/variable.sh.in @@ -60,5 +60,11 @@ lint_config_variables() { fi done + # pacman should be able to extract an email address from PACKAGER for WKD key lookup + local match='^([^<>]+ )?<[^<>]*>$' + if ! [[ $PACKAGER =~ $match ]]; then + warning "$(gettext "PACKAGER should have the format 'Example Name <email@address.invalid>'")" + fi + return $ret } |