Improve output

This commit is contained in:
2022-02-27 11:32:55 +01:00
parent 3f93e6a846
commit 9e81cd32fe
4 changed files with 14 additions and 9 deletions

View File

@@ -71,15 +71,18 @@ step_4() {
}
step_5_info() { echo "Show configuration notes"; }
step_5_alias() { ALIAS="config"; }
step_5_alias() { ALIAS="notes"; }
step_5() {
echo -e " [I] Final configuration notes ${toolName}:\n\n"
echo "$CONFIG_NOTES"
}
CONFIG_NOTES="# Sample configuration
outColor green
cat <<NOTES_END
# Sample configuration
https://raw.githubusercontent.com/${repoName}/${toolName}/v${toolVersion}/matterbridge.toml.simple"
NOTES_END
}
step_12_info() {
if [ ! -z $versionNow ] ; then
if [ "$toolVersion" == "$versionNow" ] ; then
@@ -115,7 +118,7 @@ step_12() {
versionNow=$([ ! -z $(which ${toolName}) ] && ${toolName} --version | sed 's/.*version: \([0-9.]\+\).*/\1/')
# Sequence Revision
VERSION_SEQREV=11
VERSION_SEQREV=15
# Path to sequencer
. /usr/local/bin/sequencer.sh