From 37ebdc1a7a206ec13f7e1f439dec585833394c3c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 20 Feb 2009 13:12:34 +0000 Subject: lbu: save the /var/lib/apk/world file in lbu package --- lbu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lbu b/lbu index 1af9add..266897d 100644 --- a/lbu +++ b/lbu @@ -206,6 +206,9 @@ cmd_package() { cd "${ROOT:-/}" currentlist=$(apk audit --backup -q) + if [ -f var/lib/apk/world ]; then + currentlist="$currentlist var/lib/apk/world" + fi # create tar archive [ -f "$EXCLUDE_LIST" ] && excl="-X $EXCLUDE_LIST" -- cgit v1.2.3