From 0697d7106aa345c31c03e673eb9af0061cf10411 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 4 Aug 2018 17:54:33 +0200 Subject: [PATCH] fix #1 - Configure APK with pkg++ used repository --- build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build b/build index f7d81eb..37702d6 100755 --- a/build +++ b/build @@ -24,4 +24,9 @@ git clone https://github.com/lukc/pkgxx && \ cd .. && \ rm -rf pkgxx || exit 1 +# APK configuration +echo "> Configure APK to use pkg++ as supplementary repository…" +grep -q "^/opt/pkgxx/dev$" /etc/apk/repositories || \ + echo "/opt/pkgxx/dev" >> /etc/apk/repositories + # FIXME: DL yunoconfig