Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Config: Fix config not being created
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed May 24, 2017
1 parent 8e7fe64 commit d1fa88b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -2300,10 +2300,10 @@ get_w3m_img_path() {

elif [[ -x "/usr/libexec64/w3m/w3mimgdisplay" ]]; then
w3m_img_path="/usr/libexec64/w3m/w3mimgdisplay"

elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then
w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay"

else
err "Image: w3m-img wasn't found on your system"
fi
Expand Down Expand Up @@ -3576,7 +3576,7 @@ get_user_config() {
config_file="${XDG_CONFIG_HOME}/neofetch/config"
elif [[ -f "/etc/neofetch/config" ]]; then
cp "/usr/share/neofetch/config" "${XDG_CONFIG_HOME}/neofetch"
cp "/etc/neofetch/config" "${XDG_CONFIG_HOME}/neofetch"
config_file="${XDG_CONFIG_HOME}/neofetch/config"
elif [[ -f "/usr/local/etc/neofetch/config" ]]; then
Expand Down

0 comments on commit d1fa88b

Please sign in to comment.