Add a temporary hack to use the stable channel for the ubuntu-core-desktop-installer snap.

ubuntu-core-desktop
Łukasz 'sil2100' Zemczak 11 months ago
parent b22e4e3215
commit 34b40547a2

@ -735,6 +735,13 @@ snap_preseed() {
esac esac
fi fi
# XXX: This is temporary for testing purposes as the ubuntu-core-desktop-installer
# snap is not yet published to the right channels.
if [ "$SNAP_NAME" = "ubuntu-core-desktop-installer" ]; then
echo "WARNING: Overriding ubuntu-core-desktop-installer channel to stable for testing purposes"
CHANNEL="stable"
fi
# At this point: # At this point:
# SNAP_NAME is just the snap name # SNAP_NAME is just the snap name
# SNAP is either $SNAP_NAME or $SNAP_NAME/classic for classic confined # SNAP is either $SNAP_NAME or $SNAP_NAME/classic for classic confined

Loading…
Cancel
Save