Shorten the equals fix

This commit is contained in:
Dylan 2016-02-01 08:24:25 +11:00
parent e45664ae6d
commit 70e88727b6

2
fetch
View file

@ -403,7 +403,7 @@ case "$os" in
"Windows")
distro="$(wmic os get Caption /value)"
distro=${distro/Caption}
distro=${distro/Caption\=}
distro=${distro/'='}
distro=${distro//[[:space:]]/ }
distro=${distro// }
distro=${distro/Microsoft }