From f14fbaa000333b6e7f939092891916f12c6f4ce1 Mon Sep 17 00:00:00 2001 From: Surferlul Date: Tue, 24 Aug 2021 22:19:57 +0200 Subject: [PATCH] fixed install, removed empty file, added gitignore --- .gitignore | 1 + a | 0 install.sh | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 a diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..41d1e29 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/previous.tar diff --git a/a b/a deleted file mode 100644 index e69de29..0000000 diff --git a/install.sh b/install.sh index ccdcf45..ac05b97 100755 --- a/install.sh +++ b/install.sh @@ -12,4 +12,4 @@ echo "Moving configs to install location" mv $CACHE_DIR $HOME/.config/awesome [ "$1" != "--preserve-git" ] && rm -rf $HOME/.config/awesome/.git [ ! -d "$HOME/.fonts" ] && echo "Creating ~/.fonts directory" && mkdir $HOME/.fonts -[ -z "$(ls $HOME/.fonts | grep "[Ii]ndie *[Ff]lower")" ] && echo "Indie Flower doesn't exist, installing" && mkdir $CACHE_DIR && curl 'https://google-webfonts-helper.herokuapp.com/api/fonts/indie-flower?download=zip&subsets=latin&variants=regular' > $CACHE_DIR/IndieFlower.zip && 7z x $CACHE_DIR/IndieFlower.zip && cp $CACHE_DIR/*.ttf $HOME/.fonts && rm -rf $CACHE_DIR +[ -z "$(ls $HOME/.fonts | grep "[Ii]ndie *[Ff]lower")" ] && echo "Indie Flower doesn't exist, installing" && mkdir $CACHE_DIR && curl 'https://google-webfonts-helper.herokuapp.com/api/fonts/indie-flower?download=zip&subsets=latin&variants=regular' > $CACHE_DIR/IndieFlower.zip && 7z e -y $CACHE_DIR/IndieFlower.zip -o$CACHE_DIR/ && cp $CACHE_DIR/*.ttf $HOME/.fonts && rm -rf $CACHE_DIR