[Merge] ~ack/ubuntu/+source/maas:snap-default-version into ubuntu/+source/maas:ubuntu/devel

Adam Collard adam.collard at canonical.com
Tue Feb 25 11:27:41 UTC 2020



Diff comments:

> diff --git a/debian/maas.preinst b/debian/maas.preinst
> index 15da5cd..fb77981 100755
> --- a/debian/maas.preinst
> +++ b/debian/maas.preinst
> @@ -14,6 +15,16 @@ get_snap_mode() {
>      cat "$SNAP_COMMON/snap_mode" 2>/dev/null || true
>  }
>  
> +snapd_has_track_support() {

s/track/default_track/

> +    local version
> +    version=$(snap version | awk '$1 == "snapd" { print $2; }')
> +    local major="${version%%.*}"
> +    local rest="${version#*.}"
> +    local minor="${rest%%.*}"
> +
> +    [ "$major" -ge 2 ] && [ "$minor" -ge 44 ]
> +}
> +
>  check_connectivity() {
>      local count=0
>      while true; do


-- 
https://code.launchpad.net/~ack/ubuntu/+source/maas/+git/maas/+merge/379801
Your team Ubuntu Sponsors Team is requested to review the proposed merge of ~ack/ubuntu/+source/maas:snap-default-version into ubuntu/+source/maas:ubuntu/devel.



More information about the Ubuntu-sponsors mailing list