summaryrefslogtreecommitdiff
path: root/libfetch/http.c
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-10-03 12:31:56 -1000
committerTimo Teräs <timo.teras@iki.fi>2020-10-06 10:02:21 +0300
commitdac30d50497214c8722a57ee1ae8d3c369babe38 (patch)
tree6670abe2fc73e913d8cb9679115e786c0d8030c1 /libfetch/http.c
parent7c2a3657fb4b6a1a8f5321e418a0a6baf10627e1 (diff)
downloadapk-tools-dac30d50497214c8722a57ee1ae8d3c369babe38.tar.gz
apk-tools-dac30d50497214c8722a57ee1ae8d3c369babe38.tar.bz2
apk-tools-dac30d50497214c8722a57ee1ae8d3c369babe38.tar.xz
apk-tools-dac30d50497214c8722a57ee1ae8d3c369babe38.zip
database: automatically create missing cache dir
On some systems the `/var/` dir is mounted in a tmpfs which is reseted after each reboot. For that reason no post-install script can handle the creation of the cache dir at `/var/cache/apk`. Check on database opnening if the folder is available, if not create it. Fixes #10715 Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'libfetch/http.c')
0 files changed, 0 insertions, 0 deletions