summaryrefslogtreecommitdiff
path: root/lbu.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-19 08:05:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-19 08:05:48 +0000
commit4be25548bc8e1789453014db90b213bd1756d082 (patch)
tree728ac52a15e81b1bbf63a4f413b1a9b4a68c40a8 /lbu.in
parent0cb1258408e3a4b5baad6bf9e503b2e82d36affa (diff)
downloadalpine-conf-4be25548bc8e1789453014db90b213bd1756d082.zip
lbu: fix bug that gave 'sh: missing ]'
Diffstat (limited to 'lbu.in')
-rw-r--r--lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu.in b/lbu.in
index b84682a..38154d5 100644
--- a/lbu.in
+++ b/lbu.in
@@ -234,7 +234,7 @@ cmd_package() {
cd "${ROOT:-/}"
# remove old package.list
- if [ -f etc/lbu/packages.list && -f var/lib/apk/world ]; then
+ if [ -f etc/lbu/packages.list ] && [ -f var/lib/apk/world ]; then
echo "Note: Removing /etc/lbu/packages.list."
echo " /var/lib/apk/world will be used."
rm -f etc/lbu/packages.list