From fcd3ccaf4c306c5456ad5694a317d64935b318a5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 26 Mar 2012 20:32:27 +0000 Subject: [PATCH] updated recommends for arch, xprop has changed to xorg-xprop --- inxi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 00e8fd3..d8d13ed 100755 --- a/inxi +++ b/inxi @@ -2,8 +2,8 @@ ######################################################################## #### Script Name: inxi #### version: 1.7.30 -#### Date: February 21 2012 -#### Patch Number: 00 +#### Date: March 26 2012 +#### Patch Number: 01 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -1542,7 +1542,7 @@ check_recommends_items() local x_recommends=' glxinfo:mesa-utils~mesa-demos~glx-utils~:-G_glx_info xdpyinfo:X11-utils~xorg-xdpyinfo~xorg-x11-utils~:-G_multi_screen_resolution - xprop:X11-utils~xprop~x11-utils~:-S_desktop_data + xprop:X11-utils~xorg-xprop~x11-utils~:-S_desktop_data xrandr:x11-xserver-utils~xrandr~x11-server-utils~:-G_single_screen_resolution ' local recommended_apps=' @@ -3088,6 +3088,8 @@ get_cpu_ht_multicore_smp_data() for ( i in coreHolder ) { num_of_cores++ } + # final check, override the num of cores value if it clearly is wrong + # and use the raw core count and synthesize the total instead of real count if ( ( num_of_cores == 1 ) && ( cpu_core_count * num_of_cpus > 1 ) ) { num_of_cores = cpu_core_count * num_of_cpus }