openvidu-server: minor changes in success output of installation script

pull/473/head
pabloFuente 2020-05-08 18:49:20 +02:00
parent 4eeed8fefd
commit 12a75319bf
1 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ new_ov_installation() {
printf '\n => Creating folder '%s'...' "${OPENVIDU_FOLDER}" printf '\n => Creating folder '%s'...' "${OPENVIDU_FOLDER}"
mkdir "${OPENVIDU_FOLDER}" || fatal_error "Error while creating the folder '${OPENVIDU_FOLDER}'" mkdir "${OPENVIDU_FOLDER}" || fatal_error "Error while creating the folder '${OPENVIDU_FOLDER}'"
# Download necessaries files # Download necessary files
printf '\n => Downloading Openvidu CE files:' printf '\n => Downloading Openvidu CE files:'
curl --silent https://raw.githubusercontent.com/OpenVidu/openvidu/${OPENVIDU_VERSION}/openvidu-server/docker/openvidu-docker-compose/.env \ curl --silent https://raw.githubusercontent.com/OpenVidu/openvidu/${OPENVIDU_VERSION}/openvidu-server/docker/openvidu-docker-compose/.env \
@ -125,7 +125,7 @@ upgrade_ov() {
printf "\n Creating temporal folder 'tmp'..." printf "\n Creating temporal folder 'tmp'..."
mkdir "${TMP_FOLDER}" || fatal_error "Error while creating the folder 'temporal'" mkdir "${TMP_FOLDER}" || fatal_error "Error while creating the folder 'temporal'"
# Download necessaries files # Download necessary files
printf '\n => Downloading new Openvidu CE files:' printf '\n => Downloading new Openvidu CE files:'
curl --silent https://raw.githubusercontent.com/OpenVidu/openvidu/${OPENVIDU_VERSION}/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml \ curl --silent https://raw.githubusercontent.com/OpenVidu/openvidu/${OPENVIDU_VERSION}/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml \
@ -221,24 +221,24 @@ upgrade_ov() {
# Ready to use # Ready to use
printf '\n' printf '\n'
printf '\n' printf '\n'
printf '\n =======================================' printf '\n ================================================'
printf '\n Openvidu Platform successfully upgrade.' printf "\n Openvidu successfully upgraded to version %s" "${OPENVIDU_VERSION}"
printf '\n =======================================' printf '\n ================================================'
printf '\n' printf '\n'
printf "\n 1. A new file 'docker-compose.yml' has been created with the new services" printf "\n 1. A new file 'docker-compose.yml' has been created with the new OpenVidu %s services" "${OPENVIDU_VERSION}"
printf '\n' printf '\n'
printf "\n 2. The current file '.env' has been kept but a new file '.env-%s' has been created." "${OPENVIDU_VERSION}" printf "\n 2. The previous file '.env' remains intact, but a new file '.env-%s' has been created." "${OPENVIDU_VERSION}"
printf "\n Please check the new file '.env-%s' use your data from the file '.env' and replace it" "${OPENVIDU_VERSION}" printf "\n Transfer any configuration you wish to keep in the upgraded version from '.env' to '.env-%s'." "${OPENVIDU_VERSION}"
printf '\n to have the new improvements.' printf "\n When you are OK with it, rename and leave as the only '.env' file of the folder the new '.env-%s'." "${OPENVIDU_VERSION}"
printf '\n' printf '\n'
printf "\n 3. If you were using Openvidu Call it has been updated in the file 'docker-compose.override.yml'" printf "\n 3. If you were using Openvidu Call application, it has been automatically updated in file 'docker-compose.override.yml'."
printf "\n however if you are using your own application a file called 'docker-compose.override.yml-%s'" "${OPENVIDU_VERSION}" printf "\n However, if you were using your own application, a file called 'docker-compose.override.yml-%s'" "${OPENVIDU_VERSION}"
printf "\n has been created with the latest version of Openvidu Call, you can delete it or use it if you wish." printf "\n has been created with the latest version of Openvidu Call. If you don't plan to use it you can delete it."
printf '\n' printf '\n'
printf '\n 4. Start new version of Openvidu' printf '\n 4. Start new version of Openvidu'
printf '\n $ ./openvidu start' printf '\n $ ./openvidu start'
printf '\n' printf '\n'
printf "\n If you want to roll-back all the files from the previous installation are in the folder '.old-%s'" "${OPENVIDU_PREVIOUS_VERSION}" printf "\n If you want to rollback, all the files from the previous installation have been copied to folder '.old-%s'" "${OPENVIDU_PREVIOUS_VERSION}"
printf '\n' printf '\n'
printf '\n For more information, check readme.md' printf '\n For more information, check readme.md'
printf '\n' printf '\n'