From db41fbf96865dcfc0d169dbee724a91f68804545 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 9 Jul 2019 17:10:09 -0400 Subject: [PATCH] remove old script --- bin/install-dotfiles.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 bin/install-dotfiles.sh diff --git a/bin/install-dotfiles.sh b/bin/install-dotfiles.sh deleted file mode 100755 index 6f28182..0000000 --- a/bin/install-dotfiles.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -#Initialization script sourced from Atlassian: https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/ -git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git -function config { - /usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME $@ -} -mkdir -p .config-backup -config checkout -if [ $? = 0 ]; then - echo "Checked out config."; - else - echo "Backing up pre-existing dot files."; - config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{} -fi; -config checkout -config config status.showUntrackedFiles no -config push --set-upstream origin master -config submodule init -config submodule update -which fc-cache 2>/dev/null && fc-cache -f -v ~/.fonts || true