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

Commit b725da0

Browse files
committed
fix
1 parent 889cf25 commit b725da0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/runner/functions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
487487
elif [[ -s "${SBUILD_TMPDIR}/${PKG}.svg" ]]; then
488488
cp -fv "${SBUILD_TMPDIR}/${PKG}.svg" "${SBUILD_OUTDIR}/${PKG}.svg"
489489
fi
490-
if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_TMPDIR}/${PKG}.png") -le 3 ]]; then
490+
if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.svg" || $(stat -c%s "${SBUILD_TMPDIR}/${PKG}.svg") -le 3 ]]; then
491491
if [[ -s "${SBUILD_TMPDIR}/${PKG}.svg.bak" ]]; then
492492
cp -fv "${SBUILD_TMPDIR}/${PKG}.svg.bak" "${SBUILD_OUTDIR}/${PKG}.svg"
493493
fi
@@ -1122,6 +1122,7 @@ if [[ "${SBUILD_SUCCESSFUL}" == "YES" ]] && [[ -s "${GHCR_PKG}" ]]; then
11221122
[[ -f "${i_f}" && -s "${i_f}" ]] && ghcr_push+=("${i_f}")
11231123
[[ -f "${i_f}.sig" && -s "${i_f}.sig" ]] && ghcr_push+=("${i_f}.sig")
11241124
done
1125+
[[ -f "./.DirIcon" && -s "./.DirIcon" ]] && ghcr_push+=("./.DirIcon")
11251126
[[ -f "./${PROG}.json" && -s "./${PROG}.json" ]] && ghcr_push+=("./${PROG}.json")
11261127
[[ -f "./${PROG}.json.sig" && -s "./${PROG}.json.sig" ]] && ghcr_push+=("./${PROG}.json.sig")
11271128
[[ -f "./${PROG}.log" && -s "./${PROG}.log" ]] && ghcr_push+=("./${PROG}.log")

0 commit comments

Comments
 (0)