Update build.func added spacing

This commit is contained in:
Paul 2024-11-26 13:43:36 +13:00 committed by GitHub
parent 0aa7eb2e9c
commit 90680d9ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,14 +5,14 @@ echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨 It must be fun in the root folder of
echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨The LXC it creates should NOT be used for production. 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨"
echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨"
echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨"
echo ""
if [ ! -d "misc" ] || [ ! -d "ct" ] || [ ! -d "install" ] || [ ! -f "README.md" ]; then
echo "🚨 Error: This script must be run from the root directory of the repository."
echo "🚨 Ensure you're in the directory containing 'misc', 'ct', 'install', and 'README.md'."
echo '🚨 Run the install script like $ bash ct/myapp.sh'
exit 1
fi
echo ""
echo "This script is about to run and will execute."
read -p "Do you understand and want to proceed? (y/n): " CONFIRM
if [[ "$CONFIRM" != "y" && "$CONFIRM" != "Y" ]]; then