summaryrefslogtreecommitdiff
path: root/lbu
diff options
context:
space:
mode:
Diffstat (limited to 'lbu')
-rw-r--r--lbu7
1 files changed, 4 insertions, 3 deletions
diff --git a/lbu b/lbu
index c5e2e9b..96da259 100644
--- a/lbu
+++ b/lbu
@@ -13,9 +13,9 @@ VERSION=0.8
[ "$SFIC" ] && SFIC="$SFIC -i d"
# globals
-CURRENT_TDB="$APK_CACHE/current.tdb"
-TMPCURRENT_TDB="$APK_CACHE/tmp-current.tdb"
-COMMITED_TDB="$APK_CACHE/commited.tdb"
+CURRENT_TDB="$APK_DATA/current.tdb"
+TMPCURRENT_TDB="$APK_DATA/tmp-current.tdb"
+COMMITED_TDB="$APK_DATA/commited.tdb"
EXCLUDE_LIST=/etc/lbu/exclude
INCLUDE_LIST=/etc/lbu/include
@@ -179,6 +179,7 @@ cmd_commit() {
# fi
# generate the packages.list
+ mkdir -p /etc/lbu
echo "#This file is generated by 'lbu commit'" > /etc/lbu/packages.list
for i in $(apk_glob '*') ; do
reqby=$(apk_info -qr $i);