From fb47c71a02cc48f507e2055789d390d604889e21 Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Sun, 4 Jul 2021 16:28:19 +0900 Subject: [PATCH 1/2] Cancelation message corrected. Wrong message after cancallation Issue : #8 --- script/lib.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/lib.sh b/script/lib.sh index d68bf77..0d03ad7 100644 --- a/script/lib.sh +++ b/script/lib.sh @@ -294,13 +294,15 @@ function deactivate_and_close(){ # ******************************************************************************* function on_unexpected_installer_quit(){ echo "***** ERROR : The GUI/TUI installer terminated unexpectedly. *****" - if [ "${OVERWRITEINSTALL}" -eq 0 ] ; then # If not over install, volume is new. So delete it + if [ "${OVERWRITEINSTALL}" -ne 0 ] ; then # If overwrite install, keep the volume + echo "...Keep logical volume \"${VGNAME}-${LVROOTNAME}\" untouched." + else # if not overwrite istall, delete the new volume echo "...Deleting the new logical volume \"${VGNAME}-${LVROOTNAME}\"." lvremove -f /dev/mapper/"${VGNAME}"-"${LVROOTNAME}" fi # Deactivate all lg and close the LUKS volume deactivate_and_close - echo "...The new logical volume has been deleted. You can retry Kaiten-yaki again." + echo "...You can retry Kaiten-yaki again." } From 989ca530ceaefa75f391e626038d173b9d249f8d Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Sun, 4 Jul 2021 16:35:05 +0900 Subject: [PATCH 2/2] Changelog updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b654921..557e539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Record of the modification in project development. ### Deprecated ### Removed ### Fixed +- [Issue 8 : Wrong message after cancellation ](https://github.com/suikan4github/kaiten-yaki/8) ### Known Issue