Bump mayan version to 3.3.12
Pass all arguments to management script
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user