add clean apt db to release script

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-10-07 17:02:51 -07:00
parent 0aee0b1f9e
commit 96559aaef2
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
1 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,8 @@ for dir in contrib/builder/deb/*/; do
-name *~${codename#*-}*.deb > "$APTDIR/dists/$codename/$component/filelist"
done
# clean the databases
apt-ftparchive clean "$APTDIR/conf/apt-ftparchive.conf"
# run the apt-ftparchive commands so we can have pinning
apt-ftparchive generate "$APTDIR/conf/apt-ftparchive.conf"