diff --git a/install.sh b/install.sh index 1dcc929..e117838 100644 --- a/install.sh +++ b/install.sh @@ -6901,7 +6901,7 @@ getDLCGeositeName() { escapedInput=$(escapeDLCRegexPattern "${normalizedInput}") local matchedLine= - matchedLine=$(grep -n -m1 -E "^[[:space:]]*-[[:space:]]*name:[[:space:]]*${escapedInput}[[:space:]]*$" "${dlcFilePath}") + matchedLine=$(grep -n -m1 -E "^[[:space:]]*-[[:space:]]*name:[[:space:]]*\"?${escapedInput}\"?[[:space:]]*$" "${dlcFilePath}") if [[ -n "${matchedLine}" ]]; then echo "${normalizedInput}" fi diff --git a/shell/install_en.sh b/shell/install_en.sh index 4c82d02..d2a0e1d 100644 --- a/shell/install_en.sh +++ b/shell/install_en.sh @@ -5729,7 +5729,7 @@ getDLCGeositeName() { escapedInput=$(escapeDLCRegexPattern "${normalizedInput}") local matchedLine= - matchedLine=$(grep -n -m1 -E "^[[:space:]]*-[[:space:]]*name:[[:space:]]*${escapedInput}[[:space:]]*$" "${dlcFilePath}") + matchedLine=$(grep -n -m1 -E "^[[:space:]]*-[[:space:]]*name:[[:space:]]*\"?${escapedInput}\"?[[:space:]]*$" "${dlcFilePath}") if [[ -n "${matchedLine}" ]]; then echo "${normalizedInput}" fi