SIGN IN SIGN UP

linux: Fix regex patterns for detecting Fedora in script/linux (#22611)

In `script/linux` file, in order to install build dependencies we check
ID and VERSION_ID fields of `/etc/os-release` file for installing
os-specific packages. The regex patterns for those fields are wrong
because there's no `"` character after `ID=` or `VERSION_ID=`. This
causes `grep` to fail.
So I extended the pattern by adding `"?` after each `"` character to
bypass the cause of failure.

Release Notes:

- N/A

Signed-off-by: thehxdev <hossein.khosravi.ce@gmail.com>
H
Hossein Khosravi committed
8c253af451ee4dcb95c704c716c697a4ac2c80ab
Parent: 3c20720
Committed by GitHub <noreply@github.com> on 1/3/2025, 4:28:07 PM