mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 01:46:19 +02:00
Compare commits
3 Commits
0ce651857c
...
4c6e9c037b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4c6e9c037b | ||
![]() |
3f0ebbc6d2 | ||
![]() |
cfb99fd2d8 |
@@ -188,6 +188,7 @@ path = [
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".gitignore",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
|
@@ -350,6 +350,12 @@ nvchecker_check_config() {
|
||||
printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# check if the config is using the 'cmd' source
|
||||
if grep --extended-regexp --quiet '^\s*source\s*=\s*["'\'']cmd["'\'']\s*$' "${config}"; then
|
||||
printf "using the 'cmd' source in %s is disallowed" "${config}"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
nvchecker_check_error() {
|
||||
|
Reference in New Issue
Block a user