Config: Fix config not being created
This commit is contained in:
parent
8e7fe64d82
commit
d1fa88b742
1 changed files with 3 additions and 3 deletions
2
neofetch
2
neofetch
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue