mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix: harden small runtime and installer edge cases (#100258)
* fix(media): preserve dollar sequences in transcript echoes Co-authored-by: uditDewan <udit.dewan21@gmail.com> * fix(mcp): catch rejected gateway event handlers Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com> * fix(auto-reply): support punctuated silent token prefixes Co-authored-by: simon-w <weng.qimeng@xydigit.com> * fix(discord): keep voice log previews UTF-16 safe Co-authored-by: sunlit-deng <yang.jiajun1@xydigit.com> * fix(clawrouter): bound usage response reads Co-authored-by: 杨浩宇0668001029 <yang.haoyu@xydigit.com> * fix(browser): bound CDP JSON response reads Co-authored-by: hailory <hailory@xydigit.com> * fix(status): include current time in session status Co-authored-by: connermo <conner.mo@gmail.com> * fix(installer): require Arch detection before pacman Co-authored-by: Iliya Abolghasemi <gfaerny@gmail.com> * fix(apps): default TLS gateway deep links to port 443 Co-authored-by: ben.li <li.yang6@xydigit.com> * fix(infra): keep Undici terminated exceptions nonfatal Co-authored-by: harjoth <harjoth.khara@gmail.com> * fix(auto-reply): avoid Unicode-unsafe token spread --------- Co-authored-by: uditDewan <udit.dewan21@gmail.com> Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com> Co-authored-by: simon-w <weng.qimeng@xydigit.com> Co-authored-by: sunlit-deng <yang.jiajun1@xydigit.com> Co-authored-by: 杨浩宇0668001029 <yang.haoyu@xydigit.com> Co-authored-by: hailory <hailory@xydigit.com> Co-authored-by: connermo <conner.mo@gmail.com> Co-authored-by: Iliya Abolghasemi <gfaerny@gmail.com> Co-authored-by: ben.li <li.yang6@xydigit.com> Co-authored-by: harjoth <harjoth.khara@gmail.com>
This commit is contained in:
committed by
GitHub
parent
43fd44a28c
commit
deac98eb72
+3
-7
@@ -627,10 +627,6 @@ is_arch_linux() {
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
# Fallback: check for pacman
|
||||
if command -v pacman &> /dev/null; then
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -677,7 +673,7 @@ install_build_tools_linux() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if command -v pacman &> /dev/null || is_arch_linux; then
|
||||
if command -v pacman &> /dev/null && is_arch_linux; then
|
||||
if is_root; then
|
||||
run_quiet_step "Installing build tools" pacman -Sy --noconfirm base-devel python make cmake gcc
|
||||
else
|
||||
@@ -1814,7 +1810,7 @@ install_node() {
|
||||
fi
|
||||
|
||||
# Arch-based distros: use pacman with official repos
|
||||
if command -v pacman &> /dev/null || is_arch_linux; then
|
||||
if command -v pacman &> /dev/null && is_arch_linux; then
|
||||
ui_info "Installing Node.js via pacman (Arch-based distribution detected)"
|
||||
if is_root; then
|
||||
run_required_step "Installing Node.js" pacman -Sy --noconfirm nodejs npm
|
||||
@@ -1922,7 +1918,7 @@ install_git() {
|
||||
elif command -v apt-get &> /dev/null; then
|
||||
run_quiet_step "Updating package index" apt_get_update
|
||||
run_quiet_step "Installing Git" apt_get_install git
|
||||
elif command -v pacman &> /dev/null || is_arch_linux; then
|
||||
elif command -v pacman &> /dev/null && is_arch_linux; then
|
||||
if is_root; then
|
||||
run_quiet_step "Installing Git" pacman -Sy --noconfirm git
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user