Dr-Noob/cpufetch

Makefile installs plain text man page with `.gz` file-extension

Closed this issue ยท 1 comments

Hey ๐Ÿ‘‹ Arch Linux maintainer here

The install Make-target installs the plaintext man page cpufetch.1 as cpufetch.1.gz (here), i.e. with the incorrect file extension .gz. Please change this to either:

  • Install the plaintext man page as cpufetch.1:
    install -Dm644 "cpufetch.1" "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1"
  • Gzip the man page and install it as cpufetch.1.gz:
    gzip cpufetch.1
    install -Dm644 "cpufetch.1.gz" "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1.gz"

Arch Linux issue: https://gitlab.archlinux.org/archlinux/packaging/packages/cpufetch/-/issues/1

Much appreciated, thank you!

Oops, my bad! I have pushed a fix following the first approach. Thank you for reporting ๐Ÿ‘