diff --git a/ct/omnitools.sh b/ct/omnitools.sh index 22cba3cfe..9754c3688 100755 --- a/ct/omnitools.sh +++ b/ct/omnitools.sh @@ -34,12 +34,15 @@ function update_script() { NODE_VERSION="24" setup_nodejs if check_for_gh_release "omnitools" "iib0011/omni-tools"; then + ensure_dependencies git CLEAN_INSTALL=1 fetch_and_deploy_gh_release "omnitools" "iib0011/omni-tools" "tarball" msg_info "Building OmniTools" cd /opt/omnitools export HUSKY=0 $STD npm ci --allow-remote=all + $STD git init -q + $STD git -c user.name=build -c user.email=build@localhost commit -q --allow-empty -m build $STD npm run build msg_ok "Built OmniTools" diff --git a/install/omnitools-install.sh b/install/omnitools-install.sh index 092a3caed..26d87693d 100755 --- a/install/omnitools-install.sh +++ b/install/omnitools-install.sh @@ -14,7 +14,9 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y nginx +$STD apt install -y \ + git \ + nginx msg_ok "Installed Dependencies" NODE_VERSION="24" setup_nodejs @@ -24,6 +26,8 @@ msg_info "Building OmniTools" cd /opt/omnitools export HUSKY=0 $STD npm ci --allow-remote=all +$STD git init -q +$STD git -c user.name=build -c user.email=build@localhost commit -q --allow-empty -m build $STD npm run build msg_ok "Built OmniTools"