diff --git a/run_onchange_before_authorized_keys.sh b/run_onchange_before_authorized_keys.sh index f809c7b..ebebb97 100755 --- a/run_onchange_before_authorized_keys.sh +++ b/run_onchange_before_authorized_keys.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +cd +mkdir ~/.ssh cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.old 2>/dev/null || true diff --git a/run_onchange_before_install_main_deps.sh.tmpl b/run_onchange_before_install_main_deps.sh.tmpl index ea65b26..29f07a9 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -5,8 +5,7 @@ USER=$(whoami) Green='\033[0;32m' # Green NC='\033[0m' # No Color -cd -mkdir .ssh +cd ~ echo -e "