fixed issue with $PATH via reordering main, also qt4 konvi fix

This commit is contained in:
Trash80.v2.0 2009-07-08 03:48:05 +00:00
parent 2f07450177
commit 2d5a134f65

10
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 1.0.17-beta (dbus) #### version: 1.0.17
#### Date: 16 June 2009 #### Date: 16 June 2009
######################################################################## ########################################################################
#### SPECIAL THANKS #### 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. # 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. # Same as runtime parameter.
DEFAULT_SCHEME=2 DEFAULT_SCHEME=0
# Default indentation level # Default indentation level
INDENT=10 INDENT=10
@ -368,6 +368,8 @@ main()
{ {
eval $LOGFS eval $LOGFS
# This function just initializes variables
initialize_script_data
# Check for dependencies BEFORE running ANYTHING else except above functions # Check for dependencies BEFORE running ANYTHING else except above functions
# Not all distro's have these depends installed by default # Not all distro's have these depends installed by default
@ -377,8 +379,6 @@ main()
# first init function must be set first for colors etc. Remember, no debugger # 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. # stuff works on this function unless you set the debugging flag manually.
# Debugging flag -@ [number] will not work until get_parameters runs. # Debugging flag -@ [number] will not work until get_parameters runs.
# This function just initializes variables
initialize_script_data
### Only continue if depends ok ### Only continue if depends ok
SCRIPT_PATH=$( dirname $0 ) SCRIPT_PATH=$( dirname $0 )
@ -590,7 +590,7 @@ check_script_suggested_apps()
# Determine if any of the absolutely necessary tools are absent # Determine if any of the absolutely necessary tools are absent
# No args taken. # No args taken.
check_script_depends() check_script_depends()
{ {yeah
eval $LOGFS eval $LOGFS
local app_name='' app_data='' local app_name='' app_data=''
# bc removed from deps for now # bc removed from deps for now