Improve POSIX setup script

This commit is contained in:
asdfugil committed 2021-04-29 10:16:52 +08:00
1 parent 02ba0238b9
commit 3a1fce2d4c
2 files changed
+12 -9

No files matched your search

Regular → Executable
View File
File mode changed.
Regular → Executable
+12 -9
View File
@@ -1,12 +1,15 @@
echo --------------------------------------
echo Discord Open Source Contribution Setup
echo strg+c/strg+d to exit
echo -------------------------------------------
echo This will clone and setup all repositories,
echo if you only want to work on one specific repository
echo follow their specific Getting Started Guide and exit this script
echo ----------------------------------------------------------------
echo "Are you sure you want to continue (y/n)?"
#!/bin/sh
cat << EOF
--------------------------------------
Discord Open Source Contribution Setup
strg+c/strg+d to exit
-------------------------------------------
This will clone and setup all repositories,
if you only want to work on one specific repository
follow their specific Getting Started Guide and exit this script
----------------------------------------------------------------
EOF
printf "Are you sure you want to continue (y/N)? "
read -p "" CONT
if [ "$CONT" != "y" ]; then
echo Aborting setup