diff --git a/cd b/cd new file mode 100644 index 0000000..2db24e9 --- /dev/null +++ b/cd @@ -0,0 +1,5 @@ +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 diff --git a/cd-bootstrap.sh b/cd-bootstrap similarity index 100% rename from cd-bootstrap.sh rename to cd-bootstrap diff --git a/cd.sh b/cd.sh deleted file mode 100644 index 020f5fe..0000000 --- a/cd.sh +++ /dev/null @@ -1,15 +0,0 @@ -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