summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-01-08 11:43:03 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2021-01-08 11:43:03 +0100
commit93343713ada10c693a642ac7ba665d3406f833ee (patch)
treed7ef64fba32ec2db0a91cb2aa69609f56a75fed2
parentd308d020518170ef06c82c69b3465e9151d1bb80 (diff)
downloadalpine-conf-93343713ada10c693a642ac7ba665d3406f833ee.zip
setup-apkcache: use ask function
-rw-r--r--setup-apkcache.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-apkcache.in b/setup-apkcache.in
index 1479dba..2aec6be 100644
--- a/setup-apkcache.in
+++ b/setup-apkcache.in
@@ -130,8 +130,8 @@ fi
cachedir=$1
while [ -z "$cachedir" ]; do
- echo -n "Enter apk cache directory (or '?' or 'none') [$suggestion]: "
- default_read cachedir $suggestion
+ ask "Enter apk cache directory (or '?' or 'none')" "$suggestion"
+ cachedir="$resp"
if [ "$cachedir" = "?" ]; then
apk_cache_help
cachedir=