dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.67k stars 1.75k forks source link

Syntax error in SailfishOS #1849

Closed Smuger12 closed 2 years ago

Smuger12 commented 2 years ago

Description

When I run neofetch from SailfishOS (on Sony Xperia XA2 if thats matters lol) I get this error: ./neofetch: line 36: syntax error: bad substitution

Neofetch version

Neofetch from master branch.

Config file

Using default config.

Verbose log

The same error as I wrote in the description.

dylanaraps commented 2 years ago

I need a verbose log.

Smuger12 commented 2 years ago

I need a verbose log.

But when I run ./neofetch -vv 2> neofetchlog command in the neofetchlog there is only this line: ./neofetch: line 36: syntax error: bad substitution

Smuger12 commented 2 years ago

Maybe this bug is because SailfishOS is using bash from BusyBox...

dylanaraps commented 2 years ago

That is ash, not bash. Neofetch requires bash. Look at https://github.com/dylanaraps/pfetch for POSIX shell.

Smuger12 commented 2 years ago

That is ash, not bash. Neofetch requires bash. Look at https://github.com/dylanaraps/pfetch for POSIX shell.

Thanks for help, closing this issue