mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix stupid edge case where people add comment after [install.foobar] when parsing the manifest arg list
This commit is contained in:
parent
b9640a3ffb
commit
aaca713790
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ _INSTALL_APP () {
|
|||
then
|
||||
local manifest_args="$(jq -r '.arguments.install[].name' $package_path/manifest.json)"
|
||||
else
|
||||
local manifest_args="$(grep '^\s*\[install\.' $package_path/manifest.toml | tr -d '[]' | awk -F. '{print $2}')"
|
||||
local manifest_args="$(grep -oE '^\s*\[install\.\w+]' $package_path/manifest.toml | tr -d '[]' | awk -F. '{print $2}')"
|
||||
fi
|
||||
|
||||
for ARG in $manifest_args
|
||||
|
|
Loading…
Add table
Reference in a new issue