Skip to content

Asset hugo_0.102.0_Linux-64bit.deb has files in wrong location #10220

@zaitseff

Description

@zaitseff

Thanks for creating and releasing Hugo!

The latest release asset for Debian, hugo_0.102.0_Linux-64bit.deb, has its built files in the wrong location:

$ dpkg-deb -c hugo_0.102.0_Linux-64bit.deb
-rwxr-xr-x root/root     11347 2022-08-29 02:28 ./LICENSE
-rwxr-xr-x root/root     10927 2022-08-29 02:28 ./README.md
-rwxr-xr-x root/root  55280808 2022-08-29 02:35 ./hugo

If one were to install this DEB file, it would place the hugo binary in the root directory. It should be something like /usr/local/bin/hugo instead. Similarly, LICENSE and README.md should be non-executable and placed in something like /usr/local/share/doc/hugo.

Previous releases using the old build process did exactly that.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions