Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.

Commit bffd07a

Browse files
committed
Only build AUR packages if they are not already built. Makes testing easier
1 parent 212816a commit bffd07a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

iso-generator.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ prettify() {
8383

8484
set_version() {
8585
# Label must be 11 characters long
86-
anarchy_iso_label="ANARCHYV108" # prev: iso_label
87-
anarchy_iso_release="1.0.8" # prev: iso_rel
86+
anarchy_iso_label="ANARCHYV109" # prev: iso_label
87+
anarchy_iso_release="1.0.9" # prev: iso_rel
8888
anarchy_iso_name="anarchy-${anarchy_iso_release}-x86_64.iso" # prev: version
8989
}
9090

@@ -346,6 +346,8 @@ local_repo_builds() { # prev: aur_builds
346346
echo -e "Building AUR packages for local repo ..." | log
347347

348348
# Begin build loop checking /tmp for existing builds, then build packages & install if required
349+
if !(ls /tmp | grep "${local_aur_packages[9]}"); then
350+
349351
for pkg in "${local_aur_packages[@]}"; do
350352
echo -e "Making ${pkg} ..." | log
351353
wget -qO- "${aur_snapshot_link}/${pkg}.tar.gz" | tar xz -C /tmp
@@ -358,6 +360,8 @@ local_repo_builds() { # prev: aur_builds
358360
echo -e "${pkg} made successfully" | log
359361
done
360362

363+
fi
364+
361365
echo -e "Done making packages"
362366
echo -e ""
363367
}

0 commit comments

Comments
 (0)