From ca99d9e3232d621f6764da6643cc3cc3b828ab0c Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Thu, 23 Dec 2010 20:49:31 +0000 Subject: alpine-conf: add script to add dl-3 internet repos from setup-alpine script ref # 487 --- setup-alpine.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'setup-alpine.in') diff --git a/setup-alpine.in b/setup-alpine.in index 8d1aa0f..29bb868 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -67,3 +67,9 @@ _hn=${_hn%%.*} sed -i -e "s/^127\.0\.0\.1.*/127.0.0.1\t${_hn}.${_dn:-$(get_fqdn)} ${_hn} localhost.localdomain localhost/" /etc/hosts +printf "Setup internet apk repositories? [y/N]?" +default_read setuprepos "n" + +if [ $setuprepos == "Y" ] || [ $setuprepos == "y" ]; then + $PREFIX/sbin/setup-apkrepos +fi -- cgit v1.2.3