mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
freebsd only update, added file debuggers, freebsd did not work re getting clang compiler version for kernel, need to see why
This commit is contained in:
parent
415bf24239
commit
ef1e83fec9
6
inxi
6
inxi
|
@ -2,7 +2,7 @@
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.1.28
|
#### Version: 2.1.28
|
||||||
#### Date: 2014-05-05
|
#### Date: 2014-05-21
|
||||||
#### Patch Number: 00
|
#### Patch Number: 00
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -1672,6 +1672,8 @@ debug_data_collector()
|
||||||
ls /usr/bin/gcc* &> $debug_data_dir/gcc-sys-versions.txt
|
ls /usr/bin/gcc* &> $debug_data_dir/gcc-sys-versions.txt
|
||||||
gcc --version &> $debug_data_dir/gcc-version.txt
|
gcc --version &> $debug_data_dir/gcc-version.txt
|
||||||
clang --version &> $debug_data_dir/clang-version.txt
|
clang --version &> $debug_data_dir/clang-version.txt
|
||||||
|
cat /etc/src.conf &> $debug_data_dir/bsd-etc-src-conf.txt
|
||||||
|
cat /etc/make.conf &> $debug_data_dir/bsd-etc-make-conf.txt
|
||||||
cat /etc/issue &> $debug_data_dir/etc-issue.txt
|
cat /etc/issue &> $debug_data_dir/etc-issue.txt
|
||||||
cat $FILE_LSB_RELEASE &> $debug_data_dir/lsb-release.txt
|
cat $FILE_LSB_RELEASE &> $debug_data_dir/lsb-release.txt
|
||||||
cat $FILE_OS_RELEASE &> $debug_data_dir/os-release.txt
|
cat $FILE_OS_RELEASE &> $debug_data_dir/os-release.txt
|
||||||
|
@ -4254,7 +4256,7 @@ get_desktop_environment()
|
||||||
desktop_environment="MATE"
|
desktop_environment="MATE"
|
||||||
# note, GNOME_DESKTOP_SESSION_ID is deprecated so we'll see how that works out
|
# note, GNOME_DESKTOP_SESSION_ID is deprecated so we'll see how that works out
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=542880
|
# https://bugzilla.gnome.org/show_bug.cgi?id=542880
|
||||||
elif [[ -n $GNOME_DESKTOP_SESSION_ID ]]; then
|
elif [[ -n $GNOME_DESKTOP_SESSION_ID || $XDG_CURRENT_DESKTOP == 'GNOME' ]]; then
|
||||||
if type -p gnome-shell &>/dev/null;then
|
if type -p gnome-shell &>/dev/null;then
|
||||||
version=$( get_program_version 'gnome-shell' 'gnome' '3' )
|
version=$( get_program_version 'gnome-shell' 'gnome' '3' )
|
||||||
elif type -p gnome-about &>/dev/null;then
|
elif type -p gnome-about &>/dev/null;then
|
||||||
|
|
Loading…
Reference in a new issue