format fix

This commit is contained in:
2026-07-02 00:39:05 +04:00
parent a25c24b2e7
commit 69ccc3a32a
3 changed files with 10 additions and 9 deletions

View File

@@ -10,11 +10,10 @@ declare -a editions edition_names
for dir in "${INSTALL_DIR}"/*/; do
[ -d "$dir" ] || continue
edition=$(basename "$dir")
run="${dir}/linusware/run.sh"
if [ -f "$run" ] && [ -x "$run" ]; then
edition_names+=("$edition")
editions+=("$run")
fi
run="${dir}/run.sh"
[ -f "$run" ] && [ -x "$run" ] || continue
edition_names+=("$edition")
editions+=("$run")
done
if [ ${#editions[@]} -eq 0 ]; then