Improve help output with latest changes from sequencer

This commit is contained in:
2022-01-23 23:06:46 +01:00
parent e641373a57
commit 6dd40bc6c2
12 changed files with 80 additions and 83 deletions

View File

@@ -74,10 +74,10 @@ step_3() {
exe read -p "Copy the lines above and press Enter to continue."
exe vi "$RC_LOC/composer.json"
step postupgrade
exit 0
echo " [I] Generating mysql database $RC_DATABASE"
echo
exe $WDIR/mysql.sh createdb_utf8mb4
exe $WDIR/mysql.sh createdb -c utf8mb4
echo
echo " [I] Now visit: http://url-to-roundcube/installer/"
@@ -165,12 +165,8 @@ step_20() {
}
step_22_info() {
shift
if [ -z $1 ] ; then
echo "Upgrade installation to latest version from github [CUSTOM VERSION]"
else
echo "Upgrade installation to $1 from github"
fi
echoinfoArgs "[CUSTOM VERSION]"
echo "Upgrade installation to \"latest\" from github if [CUSTOM_VERSION] is empty"
}
step_22_alias() { ALIAS="upgrade"; }
step_22() {
@@ -258,5 +254,5 @@ downloadLatest() {
tempDown="/tmp/roundcube"
tempLoc="$tempDown/rc.tar.gz"
VERSION_SEQREV=10
VERSION_SEQREV=14
. /usr/local/bin/sequencer.sh