Moved config to config/config
This commit is contained in:
parent
5f77f1b151
commit
5542cc8ce1
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ install:
|
||||||
$(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin
|
$(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin
|
||||||
$(INSTALL_DIR) $(DESTDIR)/usr/share/fetch/ascii/distro
|
$(INSTALL_DIR) $(DESTDIR)/usr/share/fetch/ascii/distro
|
||||||
$(INSTALL_PROG) fetch $(DESTDIR)/$(PREFIX)/bin/fetch
|
$(INSTALL_PROG) fetch $(DESTDIR)/$(PREFIX)/bin/fetch
|
||||||
$(INSTALL_PROG) config $(DESTDIR)/usr/share/fetch/config
|
$(INSTALL_PROG) config/config $(DESTDIR)/usr/share/fetch/config
|
||||||
$(INSTALL_PROG) ascii/distro/* $(DESTDIR)/usr/share/fetch/ascii/distro
|
$(INSTALL_PROG) ascii/distro/* $(DESTDIR)/usr/share/fetch/ascii/distro
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
|
2
fetch
2
fetch
|
@ -1788,7 +1788,7 @@ getconfig () {
|
||||||
getscriptdir
|
getscriptdir
|
||||||
|
|
||||||
mkdir -p "$HOME/.config/fetch/"
|
mkdir -p "$HOME/.config/fetch/"
|
||||||
cp "$script_dir/config" "$HOME/.config/fetch"
|
cp "$script_dir/config/config" "$HOME/.config/fetch"
|
||||||
source "$HOME/.config/fetch/config"
|
source "$HOME/.config/fetch/config"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue