Space out if statement
This commit is contained in:
parent
8dc36bbdcb
commit
8d5ccc76ad
2
fetch
2
fetch
|
@ -1775,10 +1775,12 @@ getconfig () {
|
||||||
# dir/files if they don't exist.
|
# dir/files if they don't exist.
|
||||||
if [ -f "$HOME/.config/fetch/config" ]; then
|
if [ -f "$HOME/.config/fetch/config" ]; then
|
||||||
source "$HOME/.config/fetch/config"
|
source "$HOME/.config/fetch/config"
|
||||||
|
|
||||||
elif [ -f "/usr/share/fetch/config" ]; then
|
elif [ -f "/usr/share/fetch/config" ]; then
|
||||||
mkdir -p "$HOME/.config/fetch/"
|
mkdir -p "$HOME/.config/fetch/"
|
||||||
cp "/usr/share/fetch/config" "$HOME/.config/fetch"
|
cp "/usr/share/fetch/config" "$HOME/.config/fetch"
|
||||||
source "$HOME/.config/fetch/config"
|
source "$HOME/.config/fetch/config"
|
||||||
|
|
||||||
else
|
else
|
||||||
getscriptdir
|
getscriptdir
|
||||||
|
|
||||||
|
|
Reference in New Issue