Used sequpgrade.sh to upgrade existing seqs

This commit is contained in:
2022-05-29 20:58:23 +02:00
parent 10ee4198f0
commit 6214493c18
57 changed files with 802 additions and 806 deletions

View File

@@ -12,7 +12,7 @@ SCRIPT_NAME=${SCRIPT_NAME%%.*}
CONFIG_FILE_NAME="${SCRIPT_NAME}.cfg"
CONFIG_FILE_TEMPLATE="$WDIR/${CONFIG_FILE_NAME}.example"
step_config() {
seq_config() {
initSeqConfig "$CONFIG_FILE_NAME" "$CONFIG_FILE_TEMPLATE"
if [ $? -eq 0 ] ; then
CONFIG=1
@@ -20,10 +20,10 @@ step_config() {
}
step_1_info() { echo "Install $toolName"; }
step_1_alias() { ALIAS="install"; }
step_1_alias() { echo "install"; }
step_1() {
local aptOpt=
if [ $QUIET -ne 0 ];then
if quiet;then
aptOpt="-y"
fi
@@ -32,7 +32,7 @@ step_1() {
}
step_2_info() { echo "Installation notes"; }
step_2_alias() { ALIAS="notes"; }
step_2_alias() { echo "notes"; }
step_2() {
cat <<NOTES_EOF
# For php applications make sure php-redis is installed
@@ -70,7 +70,7 @@ step_10_info() {
echoinfo " [CLI COMMAND]"
echoinfo " e.g. info"
}
step_10_alias() { ALIAS="cli"; }
step_10_alias() { echo "cli"; }
step_10() {
shift
local cliCmd="$@"
@@ -82,5 +82,5 @@ step_10() {
fi
}
VERSION_SEQREV=14
readonly sqr_minVersion=16
. /usr/local/bin/sequencer.sh