Bump mayan version to 3.2.9

Include supervisor configuration update and manual editing in update step
This commit is contained in:
2019-11-04 11:45:24 +01:00
parent 49f009a387
commit a7646beeb0

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
toolName="Mayan EDMS" toolName="Mayan EDMS"
toolVersion="3.2.8" toolVersion="3.2.9"
toolRoot="/opt/mayan-edms" toolRoot="/opt/mayan-edms"
toolMediaFolder="/opt/mayan-edms/media" toolMediaFolder="/opt/mayan-edms/media"
@@ -96,6 +96,15 @@ step_10() {
endReturn endReturn
toolScript performupgrade toolScript performupgrade
toolScript preparestatic --noinput 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 exe systemctl restart supervisor
} }
uninstallRemovalsLoc="/tmp/removals.txt" uninstallRemovalsLoc="/tmp/removals.txt"
@@ -103,7 +112,12 @@ uninstallRemovalsLoc="/tmp/removals.txt"
step_13_info() { echo "$toolName management script"; } step_13_info() { echo "$toolName management script"; }
step_13() { 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" toolScript "$command"
} }