Compare commits

...

2 Commits

2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
lib lib
src
build build
install install
*.tar.xz *.tar.xz

6
download_prerequisites.sh Normal file → Executable file
View File

@@ -23,9 +23,13 @@ echo "Начинаю загрузку файлов в папку 'src'..."
# Загружаем каждый файл # Загружаем каждый файл
for url in "${files[@]}"; do for url in "${files[@]}"; do
filename=$(basename "$url") filename=$(basename "$url")
if [ -f "$filename" ]; then
echo "⊘ Пропускаю (уже загружен): $filename"
continue
fi
echo "Загружаю: $filename" echo "Загружаю: $filename"
wget -q --show-progress "$url" wget -q --show-progress "$url"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "✓ Успешно: $filename" echo "✓ Успешно: $filename"
else else