Bump mayan version to 3.2.9
Include supervisor configuration update and manual editing in update step
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user