From d1b23c715eb31134902350d8d4906d8578e48218 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Fri, 20 Oct 2023 10:12:08 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5a3bb17..2b5d7b8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -234,7 +234,7 @@ if [ -e "/var/lib/matrix-$app" ]; then fi if ! grep -q "$final_path" /etc/passwd; then # matrix-synapse:x:994:994::/var/lib/matrix-synapse:/usr/sbin/nologin - sed --in-place -r "s@matrix-$app\:x\:([[:digit:]]+\:[[:digit:]]+)\:\:/.*/matrix-$app\:/usr/sbin/nologin@matrix-$app\:x\:\1\:\:$final_path\:/usr/sbin/nologin@g" /etc/passwd + sed --in-place -r "s@matrix-$app\:x\:([[:digit:]]+\:[[:digit:]]+)\:\:/.*/matrix-$app\:/usr/sbin/nologin@matrix-$app\:x\:\1\:\:$final_path\:/usr/sbin/nologin@g" /etc/passwd fi #================================================= @@ -672,7 +672,7 @@ fi # SECURE FILES AND DIRECTORIES #================================================= -# WARNING : theses command are u in INSTALL, UPGRADE, RESTORE +# WARNING : theses command are used in INSTALL, UPGRADE, RESTORE # For any update do it in all files chown $synapse_user:root -R $final_path chmod 770 $final_path/Coturn_config_rotate.sh