Fix missing ascii art when fetch is installed in /usr/local
This commit is contained in:
parent
a314447afa
commit
8891cce908
1 changed files with 4 additions and 0 deletions
4
fetch
4
fetch
|
@ -1746,6 +1746,10 @@ getascii () {
|
|||
# looking in the script's directory.
|
||||
if [ -f "/usr/share/fetch/ascii/distro/${ascii/ *}" ]; then
|
||||
ascii="/usr/share/fetch/ascii/distro/${ascii/ *}"
|
||||
|
||||
elif [ -f "/usr/local/share/fetch/ascii/distro/${ascii/ *}" ]; then
|
||||
ascii="/usr/local/share/fetch/ascii/distro/${ascii/ *}"
|
||||
|
||||
else
|
||||
getscriptdir
|
||||
|
||||
|
|
Loading…
Reference in a new issue