diff --git a/seqs/mayan-edms.sh b/seqs/mayan-edms.sh index 21cb852..b418c37 100755 --- a/seqs/mayan-edms.sh +++ b/seqs/mayan-edms.sh @@ -1,7 +1,7 @@ #!/bin/bash toolName="Mayan EDMS" -toolVersion="3.2.9" +toolVersion="3.2.11" toolRoot="/opt/mayan-edms" toolMediaFolder="/opt/mayan-edms/media" @@ -64,7 +64,7 @@ step_6_info() { echo "Supervisord configuration for $toolName"; } step_6() { addConf -c "" "$supervisordConfLoc" toolScript "platformtemplate supervisord > ${supervisordConfLoc}" - echo "Wrap you password in \", if it contains a \"=\" character, in the file ${supervisordConfLoc}" + exe sed -i "s/\(^ *MAYAN_DATABASE_PASSWORD=\)\(.*\),$/\1\"\2\",/" "${supervisordConfLoc}" } supervisordConfLoc="/etc/supervisor/conf.d/mayan.conf" @@ -98,13 +98,6 @@ step_10() { toolScript preparestatic --noinput # Generating new supervisor file step_6 - echo -n "Edit supervisor configuration... (ENTER to continue)" - if [ $DRY != 0 ]; then - echo " dryrun" - else - read - fi - exe vi "$supervisordConfLoc" exe systemctl restart supervisor } uninstallRemovalsLoc="/tmp/removals.txt"