Skip to content

Explicitly request xz compression#1249

Merged
dandavison merged 2 commits into
masterfrom
fix-deb-compression
Dec 3, 2022
Merged

Explicitly request xz compression#1249
dandavison merged 2 commits into
masterfrom
fix-deb-compression

Conversation

@dandavison

Copy link
Copy Markdown
Owner

Fixes #1248

Comment thread etc/ci/before_deploy.sh Outdated
EOF

fakeroot dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"
fakeroot dpkg-deb -Z xz --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use -Zxz without a space.

This is what man page says. (-Z xz works - I just tested it, but is not explicitly documented).

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, changed! Personally I have always inserted a space after a single-letter flag for every Unix/Linux command I've used in the last 20 years as far as I remember -- I think a Linux command would be pretty broken if it didn't accept a space. Plus one has to remember that Java and Windows people for some reason think it's acceptable to use a single - with the long option variants :)

@dandavison dandavison merged commit 956b2f4 into master Dec 3, 2022
@dandavison dandavison deleted the fix-deb-compression branch December 3, 2022 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Debian 11 dpkg package doesn’t support zstd compression.

2 participants