diff --git a/.gitignore b/.gitignore index ab0d3ca2..b82adb2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,2 @@ -/sources -/sources.dbm* -/sources.map* -/sources.txt* -/sources.sqlite* +/cache *.pyc diff --git a/cache/.placeholder b/cache/.placeholder new file mode 100644 index 00000000..b0eb8200 --- /dev/null +++ b/cache/.placeholder @@ -0,0 +1 @@ +.placeholder diff --git a/etc/config.sh b/etc/config.sh index 64613260..f19973fc 100644 --- a/etc/config.sh +++ b/etc/config.sh @@ -20,10 +20,10 @@ mirror_dir="/srv/debian-mirror" sources_dir="$root/sources" # Local cache of available source packages -sources_list="${root}/sources.txt" -sources_map="${root}/sources.map" -sources_dbm="${root}/sources.dbm" -sources_sql="${root}/sources.sqlite" +sources_list="${root}/cache/sources.txt" +sources_map="${root}/cache/webredir.map" +sources_dbm="${root}/cache/webredir.dbm" +sources_sql="${root}/cache/sources.sqlite" lockfile="$root/ONGOING-UPDATE.pid"