diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-10-09 10:49:26 +0200 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-10-09 10:49:26 +0200 |
| commit | 91978706279a19a3ac96393630876f3e50cbc518 (patch) | |
| tree | 1355da60486a305aefeea4e55543bbf1008715b3 /raveos-mirrorlist | |
| parent | 17a23f8a0cec5439d674d90c593497e4ceed2c68 (diff) | |
| download | RaveOS-PKGBUILD-91978706279a19a3ac96393630876f3e50cbc518.tar.gz RaveOS-PKGBUILD-91978706279a19a3ac96393630876f3e50cbc518.zip | |
fix
Diffstat (limited to 'raveos-mirrorlist')
| -rw-r--r-- | raveos-mirrorlist/PKGBUILD | 7 | ||||
| -rw-r--r-- | raveos-mirrorlist/raveos-mirrorlist.install | 6 |
2 files changed, 1 insertions, 12 deletions
diff --git a/raveos-mirrorlist/PKGBUILD b/raveos-mirrorlist/PKGBUILD index 147545b..0413109 100644 --- a/raveos-mirrorlist/PKGBUILD +++ b/raveos-mirrorlist/PKGBUILD @@ -3,15 +3,10 @@ # raveos-mirrorlist # ------------------ # A raveos-core-repo elsodleges + tartalek (GitHub Releases) szerverlistaja. -# Telepiteskor/frissiteskor a .install script: -# - atallitja a meglevo [raveos-core-repo] szekciot Include=-ra (GitHub tartalek), -# - athelyezi a [raveos-core-repo] szekciot a [core] ELE (a pacman az ELSO -# repot valasztja azonos nevu csomagra, verziotol fuggetlenul), -# - torli a gnome csomagokat az IgnorePkg-bol (a repo-sorrend mar nyer). pkgname=raveos-mirrorlist pkgver=1.0.0 -pkgrel=5 +pkgrel=6 pkgdesc="RaveOS core-repo mirrorlist (elsodleges + GitHub tartalek szerver)" arch=('any') url="https://git.rp1.hu/RaveOS" diff --git a/raveos-mirrorlist/raveos-mirrorlist.install b/raveos-mirrorlist/raveos-mirrorlist.install index c44a35e..edf30b8 100644 --- a/raveos-mirrorlist/raveos-mirrorlist.install +++ b/raveos-mirrorlist/raveos-mirrorlist.install @@ -10,7 +10,6 @@ _patch_pacman_conf() { conf=/etc/pacman.conf [ -f "$conf" ] || return 0 - # 1) Regi, egysoros Server= allapot -> Include= (GitHub tartalek szerverrel). if grep -qF 'Server = https://page.rp1.hu/x86_64/' "$conf" \ && ! grep -qF 'Include = /etc/pacman.d/raveos-core-mirrorlist' "$conf"; then sed -i \ @@ -20,9 +19,6 @@ _patch_pacman_conf() { echo "raveos-mirrorlist: /etc/pacman.conf frissitve (raveos-core-repo -> Include mirrorlist, GitHub tartalek szerverrel)" fi - # 2) [raveos-core-repo] szekcio athelyezese a [core] ELE. - # A pacman az ELSO repot valasztja azonos nevu csomagra, verziotol - # fuggetlenul - ha a raveos repo hatul van, az official csomagok nyernek. core_line=$(grep -n '^\[core\]' "$conf" | head -n1 | cut -d: -f1) rav_line=$(grep -n '^\[raveos-core-repo\]' "$conf" | head -n1 | cut -d: -f1) if [ -n "$core_line" ] && [ -n "$rav_line" ] && [ "$rav_line" -gt "$core_line" ]; then @@ -51,8 +47,6 @@ _patch_pacman_conf() { fi fi - # 3) IgnorePkg: a gnome lista torlese (a repo-sorrend mar nyer; az IgnorePkg - # blokkolna a sajat frissiteseinket). A kernel pin meghagyva. if grep -q '^IgnorePkg' "$conf"; then sed -i 's/^IgnorePkg.*/IgnorePkg = linux-cachyos linux-cachyos-headers/' "$conf" fi |