Commit 6969d50d authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo

testing/mycroft-core: upgrade to 20.8.0

parent 3db8e573
From 70d9868f84bcdc154c0b354a3c169bd97b17bf31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=85ke=20Forslund?= <ake.forslund@gmail.com>
Date: Fri, 21 Aug 2020 14:43:41 +0200
Subject: [PATCH] Don't update if autoupdate is disabled
---
mycroft/skills/skill_manager.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mycroft/skills/skill_manager.py b/mycroft/skills/skill_manager.py
index 9e2eab0db30..3329812c101 100644
--- a/mycroft/skills/skill_manager.py
+++ b/mycroft/skills/skill_manager.py
@@ -226,7 +226,8 @@ def run(self):
"""Load skills and update periodically from disk and internet."""
self._remove_git_locks()
self._connected_event.wait()
- if not self.skill_updater.defaults_installed():
+ if (not self.skill_updater.defaults_installed() and
+ self.skills_config["auto_update"]):
LOG.info('Not all default skills are installed, '
'performing skill update...')
self.skill_updater.update_skills()
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-core
pkgver=20.2.5
pkgver=20.8.0
pkgrel=0
pkgdesc="Mycroft Core, the Mycroft Artificial Intelligence platform"
url="https://mycroft.ai/"
......@@ -20,7 +20,6 @@ install="$pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/MycroftAI/mycroft-core/archive/release/v$pkgver.tar.gz
mycroft.conf
0001-xdg.patch
2680.patch
"
# Net is required for tests
# Some tests are broken still, will be enabled later
......@@ -43,7 +42,6 @@ package() {
install -Dm644 "$srcdir"/mycroft.conf "$pkgdir"/etc/mycroft/mycroft.conf
}
sha512sums="9a8d0a4a65cece2e6005e3513e73208d843bcf654ebeed5f027eb3e63da99210336678d490d5c4625efb1732a172537072675f7f03e914d5fca27ae2ef570631 mycroft-core-20.2.5.tar.gz
sha512sums="5e86ee27aa9736b61f49f34ae14669ae453d0609d63443e29b8c027327f87a4495d10fec866f923862cef226da803bb55c45537d0b7bdad57c452b55acb9addc mycroft-core-20.8.0.tar.gz
c852bf37c3588a3f65f55b65af0e55440e13aeeaca522e7029a7326ec58c9cf053d14c7c3376a952b65512cabe3437ba6701f1e0e0e4971d6b5ada159bacd57a mycroft.conf
33b4dbc733e741343fae9f573ef206a4d698e944946818f8181b49aece3bcfdef0a683ff5e1f592379ada2beef8a4ada1a536046dee64792d78f0677b3d9a545 0001-xdg.patch
9f731235cfd44dbcd48a4e51742dec0d415d2a9e136547adc451a2f0145bf9b8300a15fa2e8abac3f9b1075bcad7ed9c88ea394b3080575f58c0c631daea9233 2680.patch"
33b4dbc733e741343fae9f573ef206a4d698e944946818f8181b49aece3bcfdef0a683ff5e1f592379ada2beef8a4ada1a536046dee64792d78f0677b3d9a545 0001-xdg.patch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment