Skip to content

Instantly share code, notes, and snippets.

@jgod
Created October 2, 2013 23:19
Show Gist options
  • Save jgod/6801992 to your computer and use it in GitHub Desktop.
Save jgod/6801992 to your computer and use it in GitHub Desktop.
Creating index files for deb repos
cd my-repository
dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
dpkg-scansources source /dev/null | gzip -9c > source/Sources.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment