reprepro: Add silent option

This commit is contained in:
Jeremy Gardais 2021-07-06 12:14:43 +02:00
parent c4bcc5c5a8
commit ef95291a28
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ Manage ${package} file."
Add it to ${release} release."
#### Add the package with reprepro for this release
#### Or exit with an error message and code
reprepro -b /var/lib/reprepro includedeb "${release:=/dev/null}" "${package:=/dev/null}" \
reprepro --basedir /var/lib/reprepro --silent includedeb "${release:=/dev/null}" "${package:=/dev/null}" \
|| error_message "Error when adding ${package} to ${release}." 4
done
### }}}
@ -221,7 +221,7 @@ Skip ${package} file."
for release in ${release_list}; do
debug_message "for_release2 \
Regenerate index files for ${release} codename."
reprepro -b /var/lib/reprepro export "${release:=/dev/null}" \
reprepro --basedir /var/lib/reprepro --silent export "${release:=/dev/null}" \
|| error_message "Error when export index files for ${release} codename." 5
done
## }}}