mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-06-04 06:24:41 -05:00
Fix leftover 'OSArchitecture' string
This commit is contained in:
parent
d7722a3b46
commit
cec40577bf
3
fetch
3
fetch
|
|
@ -411,7 +411,8 @@ case "$os" in
|
|||
distro+=" $(wmic os get OSArchitecture /value)"
|
||||
|
||||
# Strip crap from the output of wmic
|
||||
distro=${distro//Caption'='}
|
||||
distro=${distro/Caption'='}
|
||||
distro=${distro/OSArchitecture'='}
|
||||
distro=${distro//[[:space:]]/ }
|
||||
distro=${distro// }
|
||||
distro=${distro/Microsoft }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user