summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-20 13:12:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-20 13:12:34 +0000
commit37ebdc1a7a206ec13f7e1f439dec585833394c3c (patch)
treebfa0d377ccbf396749180a3a8aa8242c7e00111a
parentaa24561db6ea4e22021013e7ce57583c41415103 (diff)
downloadalpine-conf-37ebdc1a7a206ec13f7e1f439dec585833394c3c.zip
lbu: save the /var/lib/apk/world file in lbu package
-rw-r--r--lbu3
1 files changed, 3 insertions, 0 deletions
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"