finalize
This commit is contained in:
parent
53ea4b6ab1
commit
d637303941
@ -33,8 +33,6 @@ function update_script() {
|
||||
msg_info "Restarting Gitea"
|
||||
$STD rc-service gitea restart
|
||||
msg_ok "Restarted Gitea"
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
start
|
||||
|
@ -37,7 +37,7 @@ color() {
|
||||
|
||||
# Icons
|
||||
CM="${TAB}✔️${TAB}"
|
||||
CROSS="${TAB}✖️${TAB}${CL}"
|
||||
CROSS="${TAB}✖️${TAB}"
|
||||
INFO="${TAB}💡${TAB}${CL}"
|
||||
OS="${TAB}🖥️${TAB}${CL}"
|
||||
OSVERSION="${TAB}🌟${TAB}${CL}"
|
||||
@ -104,7 +104,7 @@ start_spinner() {
|
||||
|
||||
{
|
||||
while [[ "$SPINNER_ACTIVE" -eq 1 ]]; do
|
||||
printf "\r\e[2K%s %b" "${frames[spin_i]}" "${BL}${SPINNER_MSG}${CL}" >&2
|
||||
printf "\r\e[2K%s %b" "${frames[spin_i]}" "${YW}${SPINNER_MSG}${CL}" >&2
|
||||
spin_i=$(((spin_i + 1) % ${#frames[@]}))
|
||||
sleep "$interval"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user