mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-12 17:36:18 +02:00
Compare commits
3 Commits
7336a6cb63
...
0ce651857c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0ce651857c | ||
![]() |
fc56ebedf3 | ||
![]() |
cfb99fd2d8 |
@@ -150,6 +150,7 @@ _pkgctl_cmds=(
|
||||
db
|
||||
diff
|
||||
issue
|
||||
license
|
||||
release
|
||||
repo
|
||||
search
|
||||
|
@@ -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