From c82a1ab08536903aa119b182250bac3531c0076d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Mon, 10 Aug 2026 18:10:52 +0200 Subject: [PATCH] fix(antergos-live): stop sed clobbering remove_calamares_launcher definition The sed 's/^remove_calamares_launcher/...' matched BOTH the function definition ('remove_calamares_launcher() {') and the trailing call, commenting out the definition. With the definition gone, the orphaned 'local launcher' body ran at top level, so the live-session dinit service failed to start with: line 232: local: can only be used in a function line 239: syntax error near unexpected token '{' No /var/log/antergos-live.log was ever written. Anchor the pattern to the exact call with '$' so only the invocation is disabled and the function stays intact. Reproduced from the artix-live 0.14.1 source: pre-fix bash -n fails with the identical two errors; post-fix it passes. Also bump pkgver 2026.06 -> 2026.08, pkgrel 5 -> 6. --- packages/antergos-live/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/antergos-live/PKGBUILD b/packages/antergos-live/PKGBUILD index 23c13a1..6591fb4 100644 --- a/packages/antergos-live/PKGBUILD +++ b/packages/antergos-live/PKGBUILD @@ -7,8 +7,8 @@ pkgname=('antergos-live-base' 'antergos-live-dinit' 'antergos-live-openrc' 'antergos-grub-live') -pkgver=2026.06 -pkgrel=5 +pkgver=2026.08 +pkgrel=6 pkgdesc='Antergos live session' arch=('any') url="https://github.com/Antergos-NeXT/antergos-live" @@ -25,7 +25,7 @@ build() { make -C artix-live # Don't remove calamares.desktop — we ship a branded one - sed -i 's/^remove_calamares_launcher/# remove_calamares_launcher/' artix-live/bin/artix-live + sed -i 's/^remove_calamares_launcher$/# remove_calamares_launcher/' artix-live/bin/artix-live # Uncomment calamares section so desktop-items copies it to localized Desktop sed -i '/# if .*calamares/,/# fi/ s/^# //' artix-live/bin/desktop-items