Add submodule_update.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
0d3fdb8737
commit
d5ce061fa9
2 changed files with 64 additions and 1 deletions
|
@ -43,12 +43,23 @@ function print_header() {
|
|||
|
||||
# Function to print a info message with the current time and to send
|
||||
# a notification using notify-send.
|
||||
# USAGE: print_info TITLE MESSAGE
|
||||
# USAGE: print_log TITLE MESSAGE
|
||||
function print_log() {
|
||||
notify-send "${1}" "${2}"
|
||||
echo -e "${YELLOW}[$(date "+%H:%M:%S")] ${1} ${2}${RESET}"
|
||||
}
|
||||
|
||||
# Prints a section title.
|
||||
# USAGE: print_section TITLE
|
||||
function print_section() {
|
||||
echo -e "${YELLOW}${1}"
|
||||
echo -e "----------------------------------------${RESET}"
|
||||
}
|
||||
|
||||
function print_log() {
|
||||
echo -e "- $1"
|
||||
}
|
||||
|
||||
# Creates the given directory in the home directory
|
||||
# USAGE: create_directory DIRECTORY
|
||||
function create_directory() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue