Shorten the equals fix
This commit is contained in:
parent
e45664ae6d
commit
70e88727b6
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