mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-07-30 17:16:15 -04:00
feat: Enhance Portainer CE update script with decorative intro and support message for user engagement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user