feat: Enhance Portainer CE update script with decorative intro and support message for user engagement

This commit is contained in:
Christopher
2024-08-11 15:01:14 -05:00
parent 51f78e03e5
commit 8c406f26ac

View File

@@ -1,5 +1,26 @@
#!/bin/bash
MESSAGE="Made by BigBearTechWorld"
# Function to print a decorative line
print_decorative_line() {
printf "%s\n" "------------------------------------------------------"
}
# Print the introduction message with decorations
echo
print_decorative_line
echo "Portainer CE Update Script"
print_decorative_line
echo
echo "$MESSAGE"
echo
print_decorative_line
echo
echo "If this is useful, please consider supporting my work at: https://ko-fi.com/bigbeartechworld"
echo
print_decorative_line
# Function to check if a command succeeded
check_command() {
if [ $? -ne 0 ]; then