From 8e23a2ba4eb7f6192c6bce8a6da81004803eca3f Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Fri, 14 Nov 2008 14:26:59 +0200 Subject: db: checksum installed files, protect config files Checksum of installed is computed on the fly when extracting them and it'll be saved to fdb. When installing config files those are diverted with suffix .apk-new if earlier version of same file with local changes exist. --- src/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/package.c') diff --git a/src/package.c b/src/package.c index 165656d..3430d19 100644 --- a/src/package.c +++ b/src/package.c @@ -255,7 +255,7 @@ static int read_info_line(void *ctx, apk_blob_t line) return 0; } -static int read_info_entry(void *ctx, const struct apk_archive_entry *ae, +static int read_info_entry(void *ctx, const struct apk_file_info *ae, struct apk_istream *is) { static struct { -- cgit v1.2.3-60-g2f50