From e0839547daf3e888df9cecbcf02bb65e862bba8a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Mar 2024 08:18:45 +0100 Subject: [PATCH 1/2] .sh --- cd => cd.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cd => cd.sh (100%) diff --git a/cd b/cd.sh similarity index 100% rename from cd rename to cd.sh From 003deb6455edfcc3d19640422f9ad474ce3e2041 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Mar 2024 09:02:43 +0100 Subject: [PATCH 2/2] 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