mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
add print_text_in_color
This commit is contained in:
parent
2a1e25c12b
commit
83fc4e9697
@ -65,6 +65,16 @@ check_command() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Colors
|
||||
Color_Off='\e[0m'
|
||||
IRed='\e[0;91m'
|
||||
IGreen='\e[0;92m'
|
||||
ICyan='\e[0;96m'
|
||||
|
||||
print_text_in_color() {
|
||||
printf "%b%s%b\n" "$1" "$2" "$Color_Off"
|
||||
}
|
||||
|
||||
# END OF FUNCTIONS #
|
||||
|
||||
# Check if root
|
||||
|
||||
Loading…
Reference in New Issue
Block a user