summaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-17 14:24:34 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-17 14:38:27 +0300
commit9d100378074d21f99dc26bae8417932dc110664e (patch)
treee66829190a5648b146698e372b2a9403d535f866 /src/info.c
parentdbb642206d2ef73c5428a04cb10bb27e7cdd3b29 (diff)
downloadapk-tools-9d100378074d21f99dc26bae8417932dc110664e.tar.gz
apk-tools-9d100378074d21f99dc26bae8417932dc110664e.tar.bz2
apk-tools-9d100378074d21f99dc26bae8417932dc110664e.tar.xz
apk-tools-9d100378074d21f99dc26bae8417932dc110664e.zip
db: refactor repository file construction
Fixes also 'fetch' applet to prefer copying/linking to files from cache if possible.
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info.c b/src/info.c
index f643df2..0abff22 100644
--- a/src/info.c
+++ b/src/info.c
@@ -314,7 +314,7 @@ static void info_print_contents(struct apk_database *db, struct apk_package *pkg
diri_files_list) {
if (apk_verbosity > 1)
printf("%s: ", pkg->name->name);
- printf(PKG_FILE_FMT "\n", PKG_FILE_PRINTF(diri->dir, file));
+ printf(DIR_FILE_FMT "\n", DIR_FILE_PRINTF(diri->dir, file));
}
}
}