mirror of
https://github.com/luzifer-docker/arch-repo-builder.git
synced 2024-12-20 17:41:19 +00:00
Fix: Do not work on the symlink
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6fad0c2b4b
commit
68f511b08c
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -68,7 +68,7 @@ gosu builder makepkg ${MAKEPKG_OPTS[@]}
|
||||||
|
|
||||||
PACKAGE=($(find . -regextype egrep -regex '^.*\.pkg(|\.tar|\.tar\.xz|\.tar\.zst)$'))
|
PACKAGE=($(find . -regextype egrep -regex '^.*\.pkg(|\.tar|\.tar\.xz|\.tar\.zst)$'))
|
||||||
|
|
||||||
REPODB=$(find /repo -regextype egrep -regex '^.*\.db(|\.tar|\.tar\.xz|\.tar.zst)$')
|
REPODB=$(find /repo -regextype egrep -regex '^.*\.db(\.tar|\.tar\.xz|\.tar.zst)$')
|
||||||
if [ -z "${REPODB}" ]; then
|
if [ -z "${REPODB}" ]; then
|
||||||
echo "No database found in /repo, not adding package."
|
echo "No database found in /repo, not adding package."
|
||||||
echo "The built package is available in ${PACKAGE}"
|
echo "The built package is available in ${PACKAGE}"
|
||||||
|
|
Loading…
Reference in a new issue