8000 Catch error if Packages.xz is not downloaded by unqueued · Pull Request #7 · alexmyczko/fnt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Catch error if Packages.xz is not downloaded #7

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

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

unqueued
Copy link
Contributor

Prints informative error message if user has not run fnt update yet, and aborts early.

I got a bit tripped up when I tried running it for the first time, and didn't see that I had to do ./fnt update first, in the README.md


./fnt install
cat: /Users/tim/.fnt/Packages.xz: No such file or directory
unxz: (stdin): File format not recognized
awk: trying to access out of range field -2
 input record number 1, file 
 source line number 1
basename: missing operand
Try 'basename --help' for more information.
Installing fonts-  [ 000 http://ftp.ch.debian.org/debian/]...
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
tar: Error opening archive: Failed to open 'data.tar.xz'
rm: cannot remove 'control.tar*': No such file or directory
rm: cannot remove 'data.tar*': No such file or directory
rm: cannot remove 'debian-binary': No such file or directory


unqueued and others added 2 commits February 10, 2021 21:11
Prints informative error message if user has not run fnt update yet, and aborts early.
@alexmyczko alexmyczko merged commit 54b0864 into alexmyczko:main Feb 11, 2021
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.

2 participants
0