mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 09:56:18 +02:00
Compare commits
4 Commits
mr-origin-
...
7336a6cb63
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7336a6cb63 | ||
![]() |
01757e6904 | ||
![]() |
c5fe8ff3e6 | ||
![]() |
cfb99fd2d8 |
@@ -155,7 +155,7 @@ if (( ${#needsversioning[*]} )); then
|
|||||||
if [[ ! -f "${file}" ]]; then
|
if [[ ! -f "${file}" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if ! git ls-files --error-unmatch "$file"; then
|
if ! git ls-files --error-unmatch "$file" >/dev/null; then
|
||||||
die "%s is not under version control" "$file"
|
die "%s is not under version control" "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@@ -191,7 +191,9 @@ path = [
|
|||||||
".nvchecker.toml",
|
".nvchecker.toml",
|
||||||
"*.install",
|
"*.install",
|
||||||
"*.sysusers",
|
"*.sysusers",
|
||||||
|
"*sysusers.conf",
|
||||||
"*.tmpfiles",
|
"*.tmpfiles",
|
||||||
|
"*tmpfiles.conf",
|
||||||
"*.logrotate",
|
"*.logrotate",
|
||||||
"*.pam",
|
"*.pam",
|
||||||
"*.service",
|
"*.service",
|
||||||
|
@@ -350,6 +350,12 @@ nvchecker_check_config() {
|
|||||||
printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
|
printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
|
||||||
return 1
|
return 1
|
||||||
fi
|
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() {
|
nvchecker_check_error() {
|
||||||
|
Reference in New Issue
Block a user