fix live image template

This commit is contained in:
Louis Abel 2022-11-23 22:34:21 -07:00
parent 2aabd9cde6
commit bd8363f89a
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -17,7 +17,7 @@ cd /builddir
{% endif %}
{{ git_clone }}
if [ -d "/builddir/ks/live/{{ major }}/peridot" ]; then
if [ -d "/builddir/ks/live/{{ major }}/{{ arch }}/peridot" ]; then
pushd /builddir/ks/live/{{ major }}/{{ arch }}/peridot || { echo "Could not change directory"; exit 1; }
else
pushd /builddir/ks/live/{{ major }}/{{ arch }}/stage || { echo "Could not change directory"; exit 1; }