mirror of
https://github.com/luzifer-docker/arch-repo-builder.git
synced 2024-12-20 17:41:19 +00:00
Support multiple extensions (zstd)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d558d52655
commit
229e6dc375
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
@ -66,9 +66,9 @@ gosu builder getkeys.sh
|
|||
# Execute the build itself
|
||||
gosu builder makepkg ${MAKEPKG_OPTS[@]}
|
||||
|
||||
PACKAGE=($(ls *.pkg.tar.xz))
|
||||
PACKAGE=($(ls *.pkg.tar.*))
|
||||
|
||||
REPODB=$(find /repo -name '*.db.tar.xz')
|
||||
REPODB=$(find /repo -name '*.db.tar.*')
|
||||
if [ -z "${REPODB}" ]; then
|
||||
echo "No database found in /repo, not adding package."
|
||||
echo "The built package is available in ${PACKAGE}"
|
||||
|
|
Loading…
Reference in a new issue