From 3c2aff23021729de85e1f92cc1e807b64fc1abe1 Mon Sep 17 00:00:00 2001 From: viennet Date: Mon, 21 Dec 2020 15:26:39 +0100 Subject: [PATCH] polished migration script --- config/migre-7-a-8.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/migre-7-a-8.sh b/config/migre-7-a-8.sh index 1421bd0d7..2e9fddc63 100755 --- a/config/migre-7-a-8.sh +++ b/config/migre-7-a-8.sh @@ -39,7 +39,7 @@ apt-get update || { echo "apt-get update failed with $?"; exit 4; } apt-get -y install git # 2- Download ScoDoc8 -echo "Downloading files..." +printf "\nDownloading files...\n" cd "$SCODOC_DIR"/.. || { echo "Fatal error: can't cd to $SCODOC_DIR"; exit 2; } mv ScoDoc "$scodoc7" @@ -57,7 +57,7 @@ then if [ -e "$dst" ] then echo "Warning: moving ${dst} to ${dst}.old" - echo "=> vérifiez votre configuration locale avant utilisation." + printf "=> vérifiez votre configuration locale avant utilisation.\n\n" mv "$dst" "$dst".old fi echo @@ -66,4 +66,4 @@ then cp "$src" "$dst" fi -printf "\nDone.\nPlease restart scodoc to use ScoDoc8.\n" +printf "\nDone.\nPlease start scodoc to use ScoDoc8: systemctl start scodoc\n"