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
A number of (mostly/all nerd-) fonts have broken paths #40
Comments
Hello, 13steinj. As I'm sure you've experienced, until you unzip a zip file, it's hard to tell whether the contents of the zip file are well organised into a single directory, or just an archive file with several files flattened out. A few years ago, this problem was encountered in extracting zip files. Therefore, we had to change to such a FORMULA. But today you have pointed out that it is time to change the treatment of similar zip files again. I know how to fix it. As you have noticed, the auto-generated scripts need to be improved. homebrew-linux-fonts/cask2formula Lines 97 to 105 in 5107db3
If you are in a hurry, please fix this and send me a PR. I will be happy to review it. I will also make time over the weekend to fix it. Thank you very much. |
Not in a hurry, might not have the time to fix it before you do. Thank you for the prompt response! |
Could the formula generator be changed to read the entries in the zip file and install those, rather than hard-coding the path transformation? |
FYI it appears as though this has been fixed with some nerd fonts since my original issue based on commit history; but with at least the reported one, still a problem. I can pick this up over the weekend if you don't have the time, just say the word! Just don't want to unintentionally step on toes. |
General troubleshooting steps
--force
and the issue is still present.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
I stepped away from a linux install in which I have installed many fonts. I have come back, and did a
brew update && brew upgrade
. I kept running into errors with the font packages. I stepped away again, because I didn't have time to bother debugging.On a new linux machine, with a fresh-ish homebrew installation--
brew install ont-ubuntu-mono-nerd-font
fails. Looking at the zip, the paths of the fonts are wrong.Example fix for the above mentioned font:
It is similarly possible that not all fonts are installed (I haven't checked this zip, nor others).
I'd submit PRs but wanted to make an issue first because:
Output of your command with
--verbose --debug
Output of
brew cask doctor
lol part 1
lol part 2, methinks the template needs some updating ;)
The text was updated successfully, but these errors were encountered: