From 2d5a134f6599ec190c3a0df7d72648853307287f Mon Sep 17 00:00:00 2001 From: "Trash80.v2.0" Date: Wed, 8 Jul 2009 03:48:05 +0000 Subject: [PATCH] fixed issue with $PATH via reordering main, also qt4 konvi fix --- inxi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inxi b/inxi index 5a9d2bc..b7d9fc9 100644 --- a/inxi +++ b/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