From 7304094dc0863041e936124bb3bc866d6135d21c Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Fri, 27 Mar 2026 13:25:26 +0100 Subject: [PATCH] Trying to fix this mess --- install/erpnext-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/erpnext-install.sh b/install/erpnext-install.sh index 44e24b35..597901e3 100644 --- a/install/erpnext-install.sh +++ b/install/erpnext-install.sh @@ -92,8 +92,7 @@ msg_ok "Configured ERPNext" msg_info "Setting up Production" BENCH_PY="/home/frappe/.local/share/uv/tools/frappe-bench/bin/python" -$STD sudo -u frappe "${BENCH_PY}" -m ensurepip --upgrade || \ - $STD sudo -u frappe bash -c "curl -fsSL https://bootstrap.pypa.io/get-pip.py | \"${BENCH_PY}\"" +$STD sudo -u frappe bash -c "curl -fsSL https://bootstrap.pypa.io/get-pip.py | \"${BENCH_PY}\"" $STD sudo -u frappe bash -c 'export PATH="$HOME/.local/bin:$PATH"; uv tool install ansible' ln -sf /home/frappe/.local/bin/ansible* /usr/local/bin/ $STD bash -c 'export PATH="/home/frappe/.local/bin:$PATH"; cd /opt/frappe-bench && bench setup production frappe --yes'