From 2ad52e1952e34cf99271e7cef07d75188d6f16e6 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Thu, 14 May 2026 17:02:50 +0200 Subject: [PATCH] etherpad: fix the seds --- install/etherpad-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/etherpad-install.sh b/install/etherpad-install.sh index a400f842..676bbac4 100644 --- a/install/etherpad-install.sh +++ b/install/etherpad-install.sh @@ -19,8 +19,8 @@ fetch_and_deploy_gh_release "etherpad" "ether/etherpad" "binary" msg_info "Configuring Etherpad" ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) sed -i 's|"soffice": null|"soffice": "/usr/bin/libreoffice"|' /opt/etherpad/settings.json -sed -i "546,551s|\"password\": \"changeme1\"|\"password\": \"$ADMIN_PASS\"|" /opt/etherpad/settings.json -sed -i -e '/^ \/\*$/d' -e '/^\s*\*\/$/d' /opt/etherpad/settings.json +sed -i "697s/\"password\": \"changeme1\"/\"password\": \"$ADMIN_PASS\"/" /opt/etherpad/settings.json +sed -i "703s/\"password\": \"changeme1\"/\"password\": \"$ADMIN_PASS\"/" /opt/etherpad/settings.json { echo "Etherpad Credentials" echo "=================="