summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNippy <nippy@Beller-Mac-mini.lan>2026-11-08 22:21:58 +0100
committerNippy <nippy@Beller-Mac-mini.lan>2026-11-08 22:21:58 +0100
commit1a5ffbc01bfbf483f6630976ca5128df47c56c7e (patch)
treedee133455a8ab56eec2ecdf5551f3651c1d8c52f
parent1ac5863bf1566f5a3d1337a740e88ee33a59209c (diff)
downloadRaveOS-PKGBUILD-1a5ffbc01bfbf483f6630976ca5128df47c56c7e.tar.gz
RaveOS-PKGBUILD-1a5ffbc01bfbf483f6630976ca5128df47c56c7e.zip
fix
-rw-r--r--raveos-calamares-theme/PKGBUILD4
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh11
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf4
-rw-r--r--raveos-center/PKGBUILD2
-rwxr-xr-xraveos-center/helper/raveos-center-helper4
5 files changed, 22 insertions, 3 deletions
diff --git a/raveos-calamares-theme/PKGBUILD b/raveos-calamares-theme/PKGBUILD
index 9dd5e7e..fbed3a8 100644
--- a/raveos-calamares-theme/PKGBUILD
+++ b/raveos-calamares-theme/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: nippy <nippy@tuta.io>
pkgname=raveos-calamares-theme
pkgver=2.0.0
-pkgrel=83
+pkgrel=84
pkgdesc="RaveOS Calamares Theme"
arch=('any')
url="https://git.rp1.hu/RaveOS"
@@ -35,6 +35,8 @@ package() {
install -Dm755 "${startdir}/etc/calamares/modules/raveos-tukor-rangsor.sh" \
"${pkgdir}/etc/calamares/modules/raveos-tukor-rangsor.sh"
+ install -Dm755 "${startdir}/etc/calamares/modules/raveos-letoltes-beallitas.sh" \
+ "${pkgdir}/etc/calamares/modules/raveos-letoltes-beallitas.sh"
local lrelease_bin
lrelease_bin="$(command -v lrelease6 || command -v lrelease || echo /usr/lib/qt6/bin/lrelease)"
diff --git a/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh b/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh
new file mode 100644
index 0000000..76622eb
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -euo pipefail
+CONF="${1:-}/etc/pacman.conf"
+[ -f "$CONF" ] || exit 0
+if grep -q "^#\?ParallelDownloads" "$CONF"; then
+ sed -i "s/^#\?ParallelDownloads.*/ParallelDownloads = 5/" "$CONF"
+else
+ sed -i "/^\[options\]/a ParallelDownloads = 5" "$CONF"
+fi
+grep -q "^DisableDownloadTimeout" "$CONF" || sed -i "/^\[options\]/a DisableDownloadTimeout" "$CONF"
+grep -E "^(ParallelDownloads|DisableDownloadTimeout)" "$CONF"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
index 0bdfc9c..43afc14 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
@@ -6,5 +6,9 @@ script:
name: "Initializing package signing keys..."
- command: "/etc/calamares/modules/raveos-tukor-rangsor.sh"
name: "Selecting the fastest mirrors..."
+ - command: "/etc/calamares/modules/raveos-letoltes-beallitas.sh"
+ name: "Configuring package downloads..."
- command: "pacstrap ${ROOT} base base-devel btrfs-progs raveos-keyring chaotic-keyring chaotic-mirrorlist linux-cachyos linux-cachyos-headers linux-firmware networkmanager iwd broadcom-wl-dkms wireless-regdb nano vim grub snapper snap-pac rsync efibootmgr bash-completion dkms lsb-release mkinitcpio-openswap"
name: "Bootstrapping Arch Linux (Netinstall)..."
+ - command: "/etc/calamares/modules/raveos-letoltes-beallitas.sh ${ROOT}"
+ name: "Configuring package downloads on the new system..."
diff --git a/raveos-center/PKGBUILD b/raveos-center/PKGBUILD
index c23cb02..348df76 100644
--- a/raveos-center/PKGBUILD
+++ b/raveos-center/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-center
pkgver=1.0.0
-pkgrel=4
+pkgrel=5
pkgdesc="RaveOS Center: apps, updates, drivers, gaming, snapshots and feedback in one place"
arch=('any')
url="https://git.rp1.hu/RaveOS/RaveOS-PKGBUILD"
diff --git a/raveos-center/helper/raveos-center-helper b/raveos-center/helper/raveos-center-helper
index 11955f5..f96e228 100755
--- a/raveos-center/helper/raveos-center-helper
+++ b/raveos-center/helper/raveos-center-helper
@@ -59,7 +59,9 @@ case "${1:-}" in
telepit)
shift
csomagnevek "$@"
- exec pacman -S --needed --noconfirm --color never "$@"
+ pacman -S --needed --noconfirm --color never "$@" && exit 0
+ echo "A csomaglista elavult, frissites es telepites..."
+ exec pacman -Syu --needed --noconfirm --color never "$@"
;;
eltavolit)
shift