dnbert / prm

PRM Allows you to quickly build package repositories, inspired by Jordan Sissels' FPM
MIT License
250 stars 33 forks source link

Chomp the .deb control file before writing out Packages.gz. #31

Closed saintaardvark closed 10 years ago

saintaardvark commented 10 years ago

Some debs (RStudio cough) have an extra newline at the end of their control file. This makes for a Packages.gz file with syntax errors, which in turn breaks apt-get update. Not sure if it's a bug on the packager's part, but this patch does get around that problem.