Commit 4be25548 authored by Natanael Copa's avatar Natanael Copa

lbu: fix bug that gave 'sh: missing ]'

parent 0cb12584
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment