mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

fix `dpkg -i` failure caused by whitespace line #141

Closed taotao54321 closed 4 years ago

taotao54321 commented 4 years ago

If readme file contains any whitespace-only line, dpkg -i failed with "blank line in value of field 'Description'". For example, I failed to install chmln/sd due to this issue.

split_by_chars() should convert not only empty lines, but also whitespace lines.

kornelski commented 4 years ago

Thanks