summaryrefslogtreecommitdiff
path: root/setup-apkcache.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-apkcache.in')
-rw-r--r--setup-apkcache.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-apkcache.in b/setup-apkcache.in
index 89147a3..d184214 100644
--- a/setup-apkcache.in
+++ b/setup-apkcache.in
@@ -65,7 +65,8 @@ shift $(( $OPTIND - 1 ))
# try auto detetect what we suggest
suggestion=
if [ -L /etc/apk/cache ]; then
- suggestion=$(readlink $suggestion)
+ suggestion=$(readlink /etc/apk/cache)
+fi
if [ -z "$suggestion" ] && [ -f /etc/lbu/lbu.conf ]; then
. /etc/lbu/lbu.conf