aboutsummaryrefslogtreecommitdiffstats
path: root/main/dpkg
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-04-14 03:13:24 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-15 06:41:03 +0000
commitf00e5aec9e2122eb94d67d28f55068ec3c2cb7f0 (patch)
tree85ef01ea97145a0aa6cab0f94a4f37651304d702 /main/dpkg
parent6142f62c546634fe1f968390006cb77f73f7423d (diff)
downloadaports-f00e5aec9e2122eb94d67d28f55068ec3c2cb7f0.tar.bz2
aports-f00e5aec9e2122eb94d67d28f55068ec3c2cb7f0.tar.xz
main/dpkg: fix missing dir & files
Diffstat (limited to 'main/dpkg')
-rw-r--r--main/dpkg/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD
index 30c87d7f73..b2a6eebbf7 100644
--- a/main/dpkg/APKBUILD
+++ b/main/dpkg/APKBUILD
@@ -42,6 +42,12 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+
+ # Add missing dir & files
+ install -d "$pkgdir/var/$pkgname"/updates/
+
+ touch "$pkgdir/var/lib/$pkgname"/status
+ touch "$pkgdir/var/lib/$pkgname"/available
}
dev() {