Bump mayan version to 3.3.12

Pass all arguments to management script
This commit is contained in:
2020-02-10 15:46:32 +01:00
parent 0f037ec8a1
commit e65b619ca7

View File

@@ -1,7 +1,7 @@
#!/bin/bash
toolName="Mayan EDMS"
toolVersion="3.3.9"
toolVersion="3.3.12"
toolRoot="/opt/mayan-edms"
toolMediaFolder="/opt/mayan-edms/media"
@@ -112,7 +112,8 @@ uninstallRemovalsLoc="/tmp/removals.txt"
step_13_info() { echo "$toolName management script"; }
step_13_alias() { ALIAS="manage"; }
step_13() {
if [ -z "$2" ] || [ "$2" == "" ] ; then
shift
if [ -z "$1" ] || [ "$1" == "" ] ; then
echo -n "Command (empty for help): "
if [ $DRY != 0 ]; then
echo " dryrun"
@@ -120,7 +121,7 @@ step_13() {
read command
fi
else
command="$2"
command="$@"
fi
toolScript "$command"
}