diff --git a/seqs/mayan-edms.sh b/seqs/mayan-edms.sh index 936bb62..21cb852 100755 --- a/seqs/mayan-edms.sh +++ b/seqs/mayan-edms.sh @@ -1,7 +1,7 @@ #!/bin/bash toolName="Mayan EDMS" -toolVersion="3.2.8" +toolVersion="3.2.9" toolRoot="/opt/mayan-edms" toolMediaFolder="/opt/mayan-edms/media" @@ -96,6 +96,15 @@ step_10() { endReturn toolScript performupgrade 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" @@ -103,7 +112,12 @@ uninstallRemovalsLoc="/tmp/removals.txt" step_13_info() { echo "$toolName management script"; } step_13() { - read -p "Command (empty for help): " command + echo -n "Command (empty for help): " + if [ $DRY != 0 ]; then + echo " dryrun" + else + read command + fi toolScript "$command" }