Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -156,29 +156,8 @@ fi
|
|
| 156 |
export PYTHONPATH="${VINCIE_DIR}:${PYTHONPATH:-}"
|
| 157 |
|
| 158 |
# --- Pretty tree (somente dirs, limpo) ---
|
| 159 |
-
echo "🌳 Estrutura
|
| 160 |
-
|
| 161 |
-
# 3) Tree simples (somente nomes) para /app e /data
|
| 162 |
-
print_tree_simple() {
|
| 163 |
-
local dir="$1"
|
| 164 |
-
echo "── $dir"
|
| 165 |
-
if [ -d "$dir" ]; then
|
| 166 |
-
find "$dir" -maxdepth 3 -mindepth 1 -printf "%f\n" | sort || true
|
| 167 |
-
if [ "${DEPTH}" -gt 1 ]; then
|
| 168 |
-
while IFS= read -r d; do
|
| 169 |
-
if [ -d "$dir/$d" ]; then
|
| 170 |
-
echo " ├─ $d/"
|
| 171 |
-
find "$dir/$d" -maxdepth 3 -mindepth 1 -printf " │ %f\n" | sort || true
|
| 172 |
-
else
|
| 173 |
-
echo " ├─ $d"
|
| 174 |
-
fi
|
| 175 |
-
done < <(find "$dir" -maxdepth 3 -mindepth 1 -printf "%f\n" | sort)
|
| 176 |
-
fi
|
| 177 |
-
else
|
| 178 |
-
echo " (inexistente)"
|
| 179 |
-
fi
|
| 180 |
-
}
|
| 181 |
-
echo "🔎 Estrutura simples de /app e /data"
|
| 182 |
print_tree_simple /app/
|
| 183 |
|
| 184 |
tree -L 2 /app/.cache
|
|
|
|
| 156 |
export PYTHONPATH="${VINCIE_DIR}:${PYTHONPATH:-}"
|
| 157 |
|
| 158 |
# --- Pretty tree (somente dirs, limpo) ---
|
| 159 |
+
echo "🌳 Estrutura"
|
| 160 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
print_tree_simple /app/
|
| 162 |
|
| 163 |
tree -L 2 /app/.cache
|