Android (Termux): Fix default config location

This commit is contained in:
Fredrik Fornwall 2016-11-02 16:18:45 +01:00
parent 2c20ec3a16
commit 7ebd6dacba

View file

@ -2712,6 +2712,9 @@ getdefaultconfig() {
elif [ -f "/usr/local/share/neofetch/config" ]; then
default_config="/usr/local/share/neofetch/config"
elif [ -f "/data/data/com.termux/files/usr/share/neofetch/config" ]; then
default_config="/data/data/com.termux/files/usr/share/neofetch/config"
else
getscriptdir
default_config="${script_dir}/config/config"