diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-13 14:58:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-13 14:58:29 +0000 |
commit | 6653228344ed532fe4cf2878c442ccb5fedea250 (patch) | |
tree | 2c6d4832ddefc574a63f8927f3a3ecdb1f7fb4ca | |
parent | 292789f180e446cd516e9ebc21d8c6e0db93c7b2 (diff) | |
download | alpine-conf-6653228344ed532fe4cf2878c442ccb5fedea250.zip |
setup-apkcache: bugfix
-rw-r--r-- | setup-apkcache.in | 3 |
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 |