Merge pull request #412 from termux/termux-default-config

Android (Termux): Fix default config location
This commit is contained in:
Dylan Araps 2016-11-03 07:29:22 +11:00 committed by GitHub
commit c1b35131d5
1 changed files with 3 additions and 0 deletions

View File

@ -2712,6 +2712,9 @@ getdefaultconfig() {
elif [ -f "/usr/local/share/neofetch/config" ]; then elif [ -f "/usr/local/share/neofetch/config" ]; then
default_config="/usr/local/share/neofetch/config" 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 else
getscriptdir getscriptdir
default_config="${script_dir}/config/config" default_config="${script_dir}/config/config"