config: Remove one too many .confs
This commit is contained in:
parent
8ded6cc935
commit
fe793fa440
2
neofetch
2
neofetch
|
@ -3641,7 +3641,7 @@ get_user_config() {
|
||||||
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
|
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
|
||||||
|
|
||||||
elif [[ -f "/etc/neofetch/config.conf" ]]; then
|
elif [[ -f "/etc/neofetch/config.conf" ]]; then
|
||||||
cp "/etc/neofetch/config.conf" "${XDG_CONFIG_HOME}/neofetch.conf"
|
cp "/etc/neofetch/config.conf" "${XDG_CONFIG_HOME}/neofetch"
|
||||||
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
|
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
|
||||||
|
|
||||||
elif [[ -f "/usr/local/etc/neofetch/config.conf" ]]; then
|
elif [[ -f "/usr/local/etc/neofetch/config.conf" ]]; then
|
||||||
|
|
Reference in New Issue