From dccfe7585a0e54e2453b42e68227f99f7b826158 Mon Sep 17 00:00:00 2001 From: threeoh6000 Date: Tue, 12 Nov 2024 19:33:32 +0000 Subject: [PATCH] shift it --- distro_machine_detection.7 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/distro_machine_detection.7 b/distro_machine_detection.7 index c2c908a..3d8ac3b 100644 --- a/distro_machine_detection.7 +++ b/distro_machine_detection.7 @@ -70,8 +70,7 @@ fi if [ "$system_type" = "windows" ] && [ -z "$machine"] && [ "$hassed" -eq 1 ]; then if [ "$hasawk" -eq 1 ]; then - distro="$(systeminfo.exe 2>/dev/null | grep -v "BIOS" | grep "OS Name" | awk -F ":" '{print $2}' | tr -s " ")" - distro="$distro $(systeminfo.exe 2>/dev/null | grep -v "BIOS" | grep "OS Version" | awk -F ":" '{print $2}' | tr -s " ")" + distro="$(systeminfo.exe 2>/dev/null | grep -v "BIOS" | grep "OS Version" | awk -F ":" '{print $2}' | tr -s " ")" fi machine="$(wmic.exe computersystem get Manufacturer,Model | sed -n 2p | head -n 1)" fi