From 003deb6455edfcc3d19640422f9ad474ce3e2041 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Mar 2024 09:02:43 +0100 Subject: [PATCH] split --- cd-bootstrap => cd-bootstrap.sh | 0 cd.sh | 20 +++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) rename cd-bootstrap => cd-bootstrap.sh (100%) diff --git a/cd-bootstrap b/cd-bootstrap.sh similarity index 100% rename from cd-bootstrap rename to cd-bootstrap.sh diff --git a/cd.sh b/cd.sh index 2db24e9..020f5fe 100644 --- a/cd.sh +++ b/cd.sh @@ -1,5 +1,15 @@ -echo 'nameserver 9.9.9.9' > '/etc/resolv.conf' \ -&& apt-get update \ -&& apt-get install --yes 'git' \ -&& git clone "${GITHUB_SERVER_URL}/rwx.work/cd" '/usr/local/sbin' \ -&& cd-bootstrap +echo "\ +nameserver 9.9.9.9 +" > '/etc/resolv.conf' \ +&& \ +apt-get update \ +&& \ +apt-get install \ +'git' \ +--yes \ +&& \ +git clone \ +"${GITHUB_SERVER_URL}/rwx.work/cd" \ +'/usr/local/sbin' \ +&& \ +cd-bootstrap.sh