Make the UBUNTU_STORE_ARCH adjustment more fool-proof

impish-sru-lp-1946520
Łukasz 'sil2100' Zemczak 3 years ago
parent 744585ed9a
commit 2dc48a1687

@ -548,7 +548,7 @@ _snap_preseed() {
sh -c " sh -c "
set -x; set -x;
cd \"$CHROOT_ROOT/var/lib/snapd/seed\"; cd \"$CHROOT_ROOT/var/lib/snapd/seed\";
UBUNTU_STORE_ARCH=$ARCH SNAPPY_STORE_NO_CDN=1 snap download \ UBUNTU_STORE_ARCH=${ARCH:-} SNAPPY_STORE_NO_CDN=1 snap download \
--cohort="${COHORT_KEY:-}" \ --cohort="${COHORT_KEY:-}" \
--channel=\"$CHANNEL\" \"$SNAP_NAME\"" || snap_download_failed=1 --channel=\"$CHANNEL\" \"$SNAP_NAME\"" || snap_download_failed=1
if [ $snap_download_failed = 1 ] ; then if [ $snap_download_failed = 1 ] ; then

Loading…
Cancel
Save