Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly request xz compression #1249

Merged
merged 2 commits into from
Dec 3, 2022
Merged

Explicitly request xz compression #1249

merged 2 commits into from
Dec 3, 2022

Conversation

dandavison
Copy link
Owner

Fixes #1248

@@ -162,7 +162,7 @@ Description: Syntax highlighter for git
detection, and restructured diff output for git on the command line.
EOF

fakeroot dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"
fakeroot dpkg-deb -Z xz --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb"
Copy link
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
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