Multiple updates

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-17 23:22:54 +01:00
parent c7b67a084b
commit dac6042f52
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
15 changed files with 66 additions and 51 deletions

View file

@ -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