mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
updated recommends for arch, xprop has changed to xorg-xprop
This commit is contained in:
parent
9d8da0627f
commit
fcd3ccaf4c
8
inxi
8
inxi
|
@ -2,8 +2,8 @@
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.7.30
|
#### version: 1.7.30
|
||||||
#### Date: February 21 2012
|
#### Date: March 26 2012
|
||||||
#### Patch Number: 00
|
#### Patch Number: 01
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -1542,7 +1542,7 @@ check_recommends_items()
|
||||||
local x_recommends='
|
local x_recommends='
|
||||||
glxinfo:mesa-utils~mesa-demos~glx-utils~:-G_glx_info
|
glxinfo:mesa-utils~mesa-demos~glx-utils~:-G_glx_info
|
||||||
xdpyinfo:X11-utils~xorg-xdpyinfo~xorg-x11-utils~:-G_multi_screen_resolution
|
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
|
xrandr:x11-xserver-utils~xrandr~x11-server-utils~:-G_single_screen_resolution
|
||||||
'
|
'
|
||||||
local recommended_apps='
|
local recommended_apps='
|
||||||
|
@ -3088,6 +3088,8 @@ get_cpu_ht_multicore_smp_data()
|
||||||
for ( i in coreHolder ) {
|
for ( i in coreHolder ) {
|
||||||
num_of_cores++
|
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 ) ) {
|
if ( ( num_of_cores == 1 ) && ( cpu_core_count * num_of_cpus > 1 ) ) {
|
||||||
num_of_cores = cpu_core_count * num_of_cpus
|
num_of_cores = cpu_core_count * num_of_cpus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue