Fix missing ascii art when fetch is installed in /usr/local
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user