diff --git a/CHANGES.md b/CHANGES.md index 2d9af087db..6441a6e438 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,11 @@ +# Version 1.4.2 + +## Fixes + +## Changes + +- Make installation confirmation case insensitive [#6097](https://github.com/appwrite/appwrite/pull/6097) + # Version 1.4.1 ## Features diff --git a/src/Appwrite/Platform/Tasks/Install.php b/src/Appwrite/Platform/Tasks/Install.php index 22355d0269..c9ed1d733e 100644 --- a/src/Appwrite/Platform/Tasks/Install.php +++ b/src/Appwrite/Platform/Tasks/Install.php @@ -70,7 +70,7 @@ class Install extends Action if ($interactive == 'Y' && Console::isInteractive()) { $answer = Console::confirm('Previous installation found, do you want to overwrite it (a backup will be created before overwriting)? (Y/n)'); - if ($answer !== 'Y') { + if (\strtolower($answer) !== 'y') { Console::info('No action taken.'); return; }