lemnos / tt

A terminal based typing test.
MIT License
714 stars 48 forks source link

on macOS, am getting: Warning: Failed to create the file /usr/share/man/man1/tt.1.gz: Operation not #12

Closed 4goodapp closed 2 years ago

4goodapp commented 3 years ago

On macOS, this give an error: sudo curl -o /usr/share/man/man1/tt.1.gz -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt.1.gz

example:

$ sudo curl -o /usr/share/man/man1/tt.1.gz -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt.1.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   615  100   615    0     0     98      0  0:00:06  0:00:06 --:--:--   153
Warning: Failed to create the file /usr/share/man/man1/tt.1.gz: Operation not 
Warning: permitted
 65  2142   65  1410    0     0    209      0  0:00:10  0:00:06  0:00:04   209
curl: (23) Failed writing body (0 != 1410)
lemnos commented 2 years ago

Oops. Looks like OSX prefers /usr/local/share/man. I have updated the README accordingly. Thanks for catching this.

4goodapp commented 2 years ago

It's working now. Thanks