Commit 068d148e authored by Vladislav's avatar Vladislav

optimization

parent c15ec010
......@@ -870,7 +870,11 @@ search_desktop_file () {
done < "$desktop_file"
if [[ $portwine_exe == "${EXEC_DESKTOP//\"/}" ]] ; then
DESKTOP_CORRECT_FILE="$desktop_file"
break
fi
fi
fi
done
if [[ $DESKTOP_WITH_TIME == enabled ]] || [[ $SORT_WITH_TIME == enabled ]] ; then
while IFS=" " read -r -a line2 ; do
if [[ -z ${line2[0]} ]] \
......@@ -889,9 +893,6 @@ search_desktop_file () {
fi
done < "$PORT_WINE_TMP_PATH/statistics"
fi
fi
fi
done
IFS="$orig_IFS"
if [[ $DESKTOP_WITH_TIME == enabled ]] || [[ $SORT_WITH_TIME == enabled ]] ; then
local line3 line4 count_line i TIME_TOTAL SKIP_REPAIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment