Shorten the equals fix
This commit is contained in:
2
fetch
2
fetch
@@ -403,7 +403,7 @@ case "$os" in
|
|||||||
"Windows")
|
"Windows")
|
||||||
distro="$(wmic os get Caption /value)"
|
distro="$(wmic os get Caption /value)"
|
||||||
distro=${distro/Caption}
|
distro=${distro/Caption}
|
||||||
distro=${distro/Caption\=}
|
distro=${distro/'='}
|
||||||
distro=${distro//[[:space:]]/ }
|
distro=${distro//[[:space:]]/ }
|
||||||
distro=${distro// }
|
distro=${distro// }
|
||||||
distro=${distro/Microsoft }
|
distro=${distro/Microsoft }
|
||||||
|
|||||||
Reference in New Issue
Block a user