This commit is contained in:
CanbiZ 2025-03-27 10:54:28 +01:00
parent 53ea4b6ab1
commit d637303941
2 changed files with 2 additions and 4 deletions

View File

@ -33,8 +33,6 @@ function update_script() {
msg_info "Restarting Gitea" msg_info "Restarting Gitea"
$STD rc-service gitea restart $STD rc-service gitea restart
msg_ok "Restarted Gitea" msg_ok "Restarted Gitea"
exit 0
} }
start start

View File

@ -37,7 +37,7 @@ color() {
# Icons # Icons
CM="${TAB}✔️${TAB}" CM="${TAB}✔️${TAB}"
CROSS="${TAB}✖️${TAB}${CL}" CROSS="${TAB}✖️${TAB}"
INFO="${TAB}💡${TAB}${CL}" INFO="${TAB}💡${TAB}${CL}"
OS="${TAB}🖥️${TAB}${CL}" OS="${TAB}🖥️${TAB}${CL}"
OSVERSION="${TAB}🌟${TAB}${CL}" OSVERSION="${TAB}🌟${TAB}${CL}"
@ -104,7 +104,7 @@ start_spinner() {
{ {
while [[ "$SPINNER_ACTIVE" -eq 1 ]]; do 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[@]})) spin_i=$(((spin_i + 1) % ${#frames[@]}))
sleep "$interval" sleep "$interval"
done done