Compare commits
3
Commits
624c82d943
...
4ee25dd7f1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ee25dd7f1 | ||
|
|
f14b1b44c8 | ||
|
|
033ca1b525 |
@@ -1 +1,3 @@
|
||||
build/
|
||||
sources/
|
||||
logs/
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -50,9 +50,13 @@ Write-Host "`nBuild container finished." -ForegroundColor Cyan
|
||||
$IsoFiles = Get-ChildItem -Path $OutputDir -Filter "*.iso"
|
||||
if ($IsoFiles.Count -gt 0) {
|
||||
Write-Host "Success! ISO file(s) available in: ${OutputDir}" -ForegroundColor Green
|
||||
$LegacyOutputDir = Join-Path $PWD.Path "output"
|
||||
if (-not (Test-Path $LegacyOutputDir)) { New-Item -ItemType Directory -Path $LegacyOutputDir | Out-Null }
|
||||
foreach ($file in $IsoFiles) {
|
||||
$sizeMB = [math]::Round($file.Length / 1MB, 2)
|
||||
Write-Host "$($file.Name) ($sizeMB MB)" -ForegroundColor Green
|
||||
Copy-Item -Path $file.FullName -Destination (Join-Path $LegacyOutputDir $file.Name) -Force
|
||||
Copy-Item -Path $file.FullName -Destination (Join-Path $LegacyOutputDir "wlasnyos-1.0-x86_64.iso") -Force
|
||||
}
|
||||
} else {
|
||||
Write-Host "No ISO file found in output directory. Check the build logs." -ForegroundColor Yellow
|
||||
|
||||
Binary file not shown.
@@ -106,7 +106,7 @@ cmd_update() {
|
||||
touch "$temp_db"
|
||||
|
||||
while IFS= read -r raw_repo || [ -n "$raw_repo" ]; do
|
||||
repo=$(printf '%s' "$raw_repo" | tr -d '␍')
|
||||
repo=$(printf '%s' "$raw_repo" | tr -d '')
|
||||
# Pomijaj puste linie i komentarze
|
||||
case "$repo" in
|
||||
""|\#*) continue ;;
|
||||
@@ -303,7 +303,7 @@ cmd_install() {
|
||||
msg "Pobieranie $filename..."
|
||||
local found_repo=0
|
||||
while IFS= read -r raw_repo || [ -n "$raw_repo" ]; do
|
||||
repo=$(printf '%s' "$raw_repo" | tr -d '␍')
|
||||
repo=$(printf '%s' "$raw_repo" | tr -d '')
|
||||
case "$repo" in ""|\#*) continue ;; esac
|
||||
if wget -c -O "$pkg_file" "${repo}/${filename}" 2>/dev/null && [ -s "$pkg_file" ]; then
|
||||
found_repo=1
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user