mirror of
https://github.com/smxi/inxi.git
synced 2025-01-18 16:37:49 +00:00
fixed issue with $PATH via reordering main, also qt4 konvi fix
This commit is contained in:
parent
2f07450177
commit
2d5a134f65
12
inxi
12
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 1.0.17-beta (dbus)
|
||||
#### version: 1.0.17
|
||||
#### Date: 16 June 2009
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -254,7 +254,7 @@ DEBUG_BUFFER_INDEX=0
|
|||
|
||||
# Defaults to 2, make this 1 for normal, 0 for no colorcodes at all. Set to any other valid scheme you like.
|
||||
# Same as runtime parameter.
|
||||
DEFAULT_SCHEME=2
|
||||
DEFAULT_SCHEME=0
|
||||
# Default indentation level
|
||||
INDENT=10
|
||||
|
||||
|
@ -368,6 +368,8 @@ main()
|
|||
{
|
||||
eval $LOGFS
|
||||
|
||||
# This function just initializes variables
|
||||
initialize_script_data
|
||||
|
||||
# Check for dependencies BEFORE running ANYTHING else except above functions
|
||||
# Not all distro's have these depends installed by default
|
||||
|
@ -377,9 +379,7 @@ main()
|
|||
# first init function must be set first for colors etc. Remember, no debugger
|
||||
# stuff works on this function unless you set the debugging flag manually.
|
||||
# Debugging flag -@ [number] will not work until get_parameters runs.
|
||||
# This function just initializes variables
|
||||
initialize_script_data
|
||||
|
||||
|
||||
### Only continue if depends ok
|
||||
SCRIPT_PATH=$( dirname $0 )
|
||||
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $3}' )
|
||||
|
@ -590,7 +590,7 @@ check_script_suggested_apps()
|
|||
# Determine if any of the absolutely necessary tools are absent
|
||||
# No args taken.
|
||||
check_script_depends()
|
||||
{
|
||||
{yeah
|
||||
eval $LOGFS
|
||||
local app_name='' app_data=''
|
||||
# bc removed from deps for now
|
||||
|
|
Loading…
Reference in a new issue