1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash echo ./clean.sh echo echo "Rebuilding package list..." echo "--------------------------" rm -f Packages* dpkg-scanpackages -m ./debs /dev/null > Packages bzip2 -k Packages ./dpkg-scanpackages -m ./debians/ /dev/null > Packages echo "--------------------------" echo "Done." echo