APT::FTPArchive::Release::Suite "@dist@";
APT::FTPArchive::Release::Codename "@dist@";
APT::FTPArchive::Release::Architectures "@architectures@";
-APT::FTPArchive::Release::Components "main non-free";
+APT::FTPArchive::Release::Components "main restricted";
APT::FTPArchive::Release::Description "Index Data Debian packages";
# Uncomment to clean the .db (cache)
# rm tmp/*
- for section in main non-free; do
+ for section in main restricted; do
# Prepare pool
d=pool/dists/$dist/$section
if test ! -d $d; then mkdir -p $d; fi
# Make symlinks from the regular FTP archive
for pdir in /home/ftp/pub/*; do
use=false
- if test -f $pdir/.htaccess -a $section = "non-free"; then
+ if test -f $pdir/.htaccess -a $section != "main"; then
use=true
fi
if test ! -f $pdir/.htaccess -a $section = "main"; then
echo "Archive: $dist" >$d/Release
echo "Component: $section" >>$d/Release
echo 'Origin: Indexdata' >>$d/Release
- echo "Architecture: $arch" >>$d/Release
+ echo "Architecture: $arch" >>$d/Release
done
d=dists/$dist/$section/source