Moved config to config/config

This commit is contained in:
Dylan 2016-01-30 21:26:08 +11:00
parent 5f77f1b151
commit 5542cc8ce1
3 changed files with 2 additions and 2 deletions

View file

@ -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
View file

@ -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
} }