Commit faa79c23 authored by Carlo Landmeter's avatar Carlo Landmeter

check if repo exist

parent d2025a58
......@@ -20,6 +20,10 @@ fi
git -C "$HOME"/aports checkout --quiet "$BRANCH"
for REPO in $REPOS; do
if [ ! -d "$HOME/aports/$REPO" ]; then
echo "Repository \"$REPO\" not available, skipping."
exit 0
fi
echo "Generating secdb for $RELEASE/$REPO"
TMPFILE=$(mktemp)
lua5.3 /usr/share/alpine-secdb/secfixes.lua \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment