summaryrefslogtreecommitdiff
path: root/lbu
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2007-04-06 22:08:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2007-04-06 22:08:43 +0000
commitb183abaaa5f56cf26e79c8e3e3f7081ba05b3fff (patch)
treea2a34ef39c263858d7c3443a7de83070c9adbc9d /lbu
parent83734dd6f21a7f4c94abdff1799bfc68702c764a (diff)
downloadalpine-conf-b183abaaa5f56cf26e79c8e3e3f7081ba05b3fff.zip
updated APK_CACHE to APK_DATA
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);