From 2913920987fe60f2fed401851bbfcbe35f0dbc20 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Thu, 10 Feb 2022 15:07:44 +0100 Subject: [PATCH] removed copying functions, no need anymore --- deploy.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/deploy.sh b/deploy.sh index e2a8408..5b3b8d4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -29,10 +29,6 @@ _help() { echo } -_bash_overrides() { - cp -r bashrc_overrides ~/.bashrc_overrides -} - _bashrc_ref() { echo "#REF:bashrc_overrides:REF" >> ~/.bashrc echo ". ${THIS}/bashrc_overrides/_all" >> ~/.bashrc @@ -41,14 +37,11 @@ _bashrc_ref() { _main() { _arguments "$@" - if [ "${FORCE}" = true ]; then - _bash_overrides - elif [ ! -z "$(grep "#REF:bashrc_overrides:REF" ~/.bashrc)" ]; then + if [ ! -z "$(grep "#REF:bashrc_overrides:REF" ~/.bashrc)" ]; then echo "bash overrides already in place" echo "skipping..." echo else - _bash_overrides _bashrc_ref echo "bash overrides added" echo