mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Don't output version twice
This commit is contained in:
+1
-5
@@ -161,7 +161,7 @@ create_with_contenv_alias() {
|
|||||||
# Check for curl
|
# Check for curl
|
||||||
curl_check() {
|
curl_check() {
|
||||||
if [[ ! -f /usr/bin/curl ]] || [[ ! -f /usr/bin/jq ]]; then
|
if [[ ! -f /usr/bin/curl ]] || [[ ! -f /usr/bin/jq ]]; then
|
||||||
write_mod_info "[mod-init] Curl/JQ was not found on this system for Docker mods installing"
|
write_mod_info "Curl/JQ was not found on this system for Docker mods installing"
|
||||||
if [[ -f /usr/bin/apt ]]; then
|
if [[ -f /usr/bin/apt ]]; then
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
export DEBIAN_FRONTEND="noninteractive"
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
@@ -474,10 +474,6 @@ create_with_contenv_alias
|
|||||||
|
|
||||||
# Main script loop
|
# Main script loop
|
||||||
|
|
||||||
if [[ ${S6_VERBOSITY} -ge 2 ]]; then
|
|
||||||
echo "[mod-init] Version ${MOD_SCRIPT_VER}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -d "${SCRIPTS_DIR}" ]] || [[ -d "${SERVICES_DIR}" ]]; then
|
if [[ -d "${SCRIPTS_DIR}" ]] || [[ -d "${SERVICES_DIR}" ]]; then
|
||||||
tamper_check
|
tamper_check
|
||||||
process_custom_services
|
process_custom_services
|
||||||
|
|||||||
Reference in New Issue
Block a user