Update code to follow latest `snap managed` API.

This commit is contained in:
Mathieu Trudel-Lapierre 2016-10-07 11:34:45 -04:00
parent 143e36ec69
commit fc10303150
2 changed files with 8 additions and 1 deletions

View File

@ -8,7 +8,7 @@ trap true HUP INT QUIT TSTP
# happened and need to force it on. Yay UNIX!
stty icrnl
if [ `snap is-managed` = "system is managed" ]; then
if [ "$(snap managed)" = "true" ]; then
touch /var/lib/console-conf/complete
exit 0
fi

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
subiquity (0.0.20) UNRELEASED; urgency=medium
[ Michael Vogt ]
* Update code to follow latest `snap managed` API.
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Fri, 07 Oct 2016 11:33:12 -0400
subiquity (0.0.19) yakkety; urgency=medium
[ Michael Hudson-Doyle ]