forked from mirror/pixelfed
docker: cleanup script
This commit is contained in:
parent
3a1f4789e6
commit
ad382f8f55
1 changed files with 0 additions and 10 deletions
|
@ -8,7 +8,6 @@ set -e -o errexit -o nounset -o pipefail
|
|||
|
||||
declare -r RED="\e[31m"
|
||||
declare -r GREEN="\e[32m"
|
||||
declare -r YELLOW="\e[33m"
|
||||
declare -r BLUE="\e[34m"
|
||||
declare -r NO_COLOR="\e[0m"
|
||||
|
||||
|
@ -25,19 +24,10 @@ function action_start() {
|
|||
echo -en "⚙️ $1: "
|
||||
}
|
||||
|
||||
function action_start_newline() {
|
||||
action_start "$1"
|
||||
echo
|
||||
}
|
||||
|
||||
function action_ok() {
|
||||
echo -e "\n\t✅ ${GREEN}${*}${NO_COLOR}\n"
|
||||
}
|
||||
|
||||
function action_warn() {
|
||||
echo -e "⚠️ ${YELLOW}${*}${NO_COLOR}"
|
||||
}
|
||||
|
||||
function action_error() {
|
||||
echo -e "\n\t❌ ${RED}${*}${NO_COLOR}" >&2
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue