Compare commits
2 Commits
402393867b
...
f861c2845f
| Author | SHA1 | Date | |
|---|---|---|---|
| f861c2845f | |||
| 343844e690 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
lib
|
lib
|
||||||
|
src
|
||||||
build
|
build
|
||||||
install
|
install
|
||||||
*.tar.xz
|
*.tar.xz
|
||||||
6
download_prerequisites.sh
Normal file → Executable file
6
download_prerequisites.sh
Normal file → Executable 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
|
||||||
|
|||||||
Reference in New Issue
Block a user