Print update notice.

This commit is contained in:
André Cruz
2013-05-31 18:17:32 +01:00
parent 542645d876
commit 7fb326245e
3 changed files with 10 additions and 4 deletions

View File

@@ -66,11 +66,13 @@ StandardRenderer.prototype.notification = function (notification) {
}
};
StandardRenderer.prototype.updateAvailable = function (update) {
// TODO
StandardRenderer.prototype.updateNotice = function (data) {
template('std/update-notice.std', data)
.then(function (str) {
this._write(process.stderr, str);
}.bind(this), this.error.bind(this));
};
// -------------------------
StandardRenderer.prototype._install = function (installed) {