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

@@ -26,10 +26,10 @@ step_1_info() {
echo "Install packages: $toolDeps"
echoinfo "May take a long time"
}
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
exe apt update
@@ -37,16 +37,16 @@ step_1() {
}
step_20_info() { echo "List spam/ham counts"; }
step_20_alias() { ALIAS="list"; }
step_20_alias() { echo "list"; }
step_20() {
exe mysql -D $SA_BAYES_DBNAME -e 'select username,spam_count,ham_count from bayes_vars;'
}
SA_BAYES_DBNAME='spambayes_db'
step_50_info() { echo "Notes"; }
step_50_alias() { ALIAS="notes"; }
step_50_alias() { echo "notes"; }
step_50() {
outColor green
color green
echo "$notes"
}
notes='
@@ -150,5 +150,5 @@ notes='
saNewHam=$(cat);( echo "$saNewHam" | /usr/bin/sa-learn -u ${1} --ham ) &
'
VERSION_SEQREV=14
readonly sqr_minVersion=16
. /usr/local/bin/sequencer.sh