Open geoffreysmith opened 1 week ago
I don't want to recreate the repository right now but changing from WHOAMI to LOGNAME is showing the user invoking the script:
Fonts copied to /home/geoffrey/.local/share/fonts/Monaspace and font cache updated.
I'm downloading Fedora to make sure but I'm not worried about it. The deno dependency is ... odd. All I know is that I only have these kerning fonts and my command line is jacked but that was to be expected. It solved the immediate error until someone wants to take the time to create a cross-compile test-suite for this. It'd not be a big effort but definitely uh summer intern work.
Thanks.
Thought I submitted this last night, whatever:
Bash 5.2, Ubuntu 24.04
Input from root of
~/Workspaces/monaspace
Input:
Also tried:
Though sudo should have overwritten that.
Output (original line 12 & 15, directories created manually and also tried to let the script do its thing made no difference.
Output:
Edit: I believe context on the terminal is correct, as non root "geoffrey" ... it does some weird things when starting over with original script and deleting
/home/geoffrey/share/fonts/
Input:
Output:
Input (original install_linux.sh):
Output:
`/home/geoffrey
Run command with debug:
Take my word for it but it does not install
/home/geoffrey/fonts
but it puts it all under root. Coming from Debian/Fedora I don't think this would have happened. It would have kept my username, but I'd be in an admin group so I think my PID would be the same but would run through the wheel group. The differences in the scripts with no changes except conditionals impacting globbing is really strange.I am going to update this script, then try to run under a cross-compile matrix. I do not know why the differences are happening.