Multiple updates
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
c7b67a084b
commit
dac6042f52
15 changed files with 66 additions and 51 deletions
|
@ -31,14 +31,6 @@ YELLOW='\033[33m'
|
|||
#######################################
|
||||
# Helper functions
|
||||
#######################################
|
||||
# Function to display fancy headers
|
||||
# USAGE: print_header TITLE
|
||||
function print_header() {
|
||||
echo -e "\n${GREEN}╔══════════════════════════════════════════════════════════════════════════════╗"
|
||||
echo -e "║ $(printf "%-77s" "${1}")║"
|
||||
echo -e "╚══════════════════════════════════════════════════════════════════════════════╝${RESET}"
|
||||
}
|
||||
|
||||
# Function to print out a log entry together with the current date and time.
|
||||
# USAGE: print_time_log SCRIPT MESSAGE
|
||||
function print_time_log() {
|
||||
|
@ -62,7 +54,7 @@ function print_section() {
|
|||
}
|
||||
|
||||
function print_log() {
|
||||
echo -e "• $1"
|
||||
echo -e " • $1"
|
||||
}
|
||||
|
||||
# Creates the given directory in the home directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue