some code cleanup, new tarball, no other changes that matter

This commit is contained in:
inxi-svn 2013-01-29 00:40:35 +00:00
parent 2703defd0c
commit 5b86605d24

7
inxi
View file

@ -6669,13 +6669,6 @@ get_shell_data()
shell_version=$( get_de_app_version "$shell_type" "^zsh" "2" )
;;
esac
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
script_parent=$( ps -fp $PPID --no-headers 2>/dev/null | gawk '/'"$PPID"'/ { print $3 }' )
shell_parent=$( ps -p $script_parent --no-headers 2>/dev/null | gawk '/'"$script_parent"'/ { print $NF}' )
if [[ -n $shell_parent ]];then
shell_parent=" - parent $shell_parent"
fi
fi
fi
if [[ -n $shell_version ]];then
shell_type="$shell_type $shell_version"