From 62f28f0481ba9a1371de75904302a4f5dcdd2f0f Mon Sep 17 00:00:00 2001
From: Pierre Rudloff <contact@rudloff.pro>
Date: Sun, 28 Jul 2019 19:09:30 +0200
Subject: [PATCH] GCompris: Workaround "apt-get update" error

---
 metadata/net.gcompris.full.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/net.gcompris.full.yml b/metadata/net.gcompris.full.yml
index 7d7512e53d..37c53b2888 100644
--- a/metadata/net.gcompris.full.yml
+++ b/metadata/net.gcompris.full.yml
@@ -21,7 +21,7 @@ Builds:
     commit: V0.96
     submodules: true
     sudo:
-      - apt-get update
+      - apt-get update || apt-get update
       - apt-get install --yes extra-cmake-modules libncurses5
     output: android-build/android/bin/GCompris-Android-release-armeabi-v7a-dl-$$VERSION$$.apk
     prebuild: mkdir qt/ android-build/