diff --git a/inxi b/inxi index b102d16..e04d2ec 100755 --- a/inxi +++ b/inxi @@ -1253,7 +1253,11 @@ debug_data_collector() xiin_data_file=$SCRIPT_DATA_DIR/$xiin_data_dir/xiin-sys.txt echo 'Downloading required tree traverse tool xiin...' - wget -q -O xiin http://inxi.googlecode.com/svn/branches/xiin/xiin || error_handler 17 'xiin' + wget -q -Nc http://inxi.googlecode.com/svn/branches/xiin/xiin + # if nothing got downloaded kick out error, otherwise we'll use an older version + if [[ $? -gt 0 && ! -f xiin ]];then + error_handler 17 'xiin' + fi if [[ -n $( grep 'checkPython' xiin ) ]];then echo 'Running xiin tool now on /sys...' python ./xiin -d /sys -f $xiin_data_file || error_handler 19 'xiin'