From 887ef88ba9946e5a54849c0212637289005a3a5b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 30 May 2024 21:31:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 2e038fd..598653d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,22 +1,10 @@ #! /usr/bin/env bash -FILE="$(realpath "${BASH_SOURCE[0]}")" -ROOT="$(dirname "${FILE}")" -COMMANDS='cmd' KEY_ALGORITHM='ed25519' KEY_DIRECTORY='.ssh' KEY_PATH="${KEY_DIRECTORY}/id_${KEY_ALGORITHM}" KEY_PUBLIC='AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5' SERVER="$(basename ${GITHUB_SERVER_URL})" -TARGET='/usr/local/sbin' - -# commands -cd "${ROOT}/${COMMANDS}" \ -|| exit -for file in *.sh ; do - cp "${file}" "${TARGET}/${file%.sh}" \ - || exit -done # ssh cd \