Open andrewstein opened 6 years ago
More info:
$ which readlink
/usr/bin/readlink
$ man readlink
STAT(1) BSD General Commands Manual STAT(1)
NAME
readlink, stat -- display file status
SYNOPSIS
stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
readlink [-n] [file ...]
DESCRIPTION
...
When invoked as readlink, only the target of the symbolic link is
printed. If the given argument is not a symbolic link, readlink will
print nothing and exit with an error.
...
$ screenfetch -V
screenFetch - Version 3.8.0
Created by and licensed to Brett Bohnenkamper <kittykatt@kittykatt.us>
OS X porting done almost solely by shrx (https://github.com/shrx) and John D. Duncan, III (https://github.com/JohnDDuncanIII).
This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Excuse me, has this problem been fixed?
You can fix it on your own for now by replacing "readlink" with "stat" in the script.
elif readlink -f "$SHELL" | grep -q "busybox"; then
becomes
elif stat -f "$SHELL" | grep -q "busybox"; then
@muttmutt Can you make a pull request with such a fix?
@darealshinji It's actually already in process. See #602 for details.
I suspect we'll see a 3.8.1 version with this (and other) fixes.
On macos, I get the error
before the information printed by
screenfetch
....