From df7192a675795772d1f0f2e5ea82da566aa0276b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 10 Dec 2020 09:26:21 +0100 Subject: [PATCH] remove unused code --- bashrc_add | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bashrc_add b/bashrc_add index 1ea1536..db74163 100755 --- a/bashrc_add +++ b/bashrc_add @@ -105,12 +105,6 @@ EOF if which git >/dev/null; then loginfo -n "Sync config with ${MYSHELLCONFIG_GIT_SERVER}: " # MYSHELLCONFIG_GITCHECKOUTSCRIPT_OPTIONS are options for bin/git-myshellconfig-checkout - if [ -z ${MYSHELLCONFIG_GIT_CHECKOUTSCRIPT_OPTIONS+x} ]; then - gco="-h" - else - gco="$MYSHELLCONFIG_GIT_CHECKOUTSCRIPT_OPTIONS" - fi - #${MYSHELLCONFIG_BASE}/bin/git-myshellconfig-checkout ${gco}|| nok="not " 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 ${MYSHELLCONFIG_BASE}/bin/git-myshellconfig-checkout ${MYSHELLCONFIG_GIT_CHECKOUTSCRIPT_OPTIONS:=${MYSHELLCONFIG_GIT_CHECKOUTSCRIPT_OPTIONS_DEFAULT}}|| nok="not " 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 loginfo "$(printf '%s\n' "${nok}synced" )" [ -z "$nok" ] && mkdir -pv "${MYSHELLCONFIG_LOGDIR}"