From 6653228344ed532fe4cf2878c442ccb5fedea250 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 13 Sep 2011 14:58:29 +0000 Subject: setup-apkcache: bugfix --- setup-apkcache.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3