From 923cea5d7494bc95d223849b515e4a3ec6e63f6c Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Tue, 26 Aug 2025 09:06:11 +0000 Subject: [PATCH] ubiquity: test parse sources.list --- helpers/DATA/ubiquity/99trisquel | 6 +++--- helpers/make-ubiquity | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/DATA/ubiquity/99trisquel b/helpers/DATA/ubiquity/99trisquel index 0bbfbd5..b8a434a 100755 --- a/helpers/DATA/ubiquity/99trisquel +++ b/helpers/DATA/ubiquity/99trisquel @@ -3,12 +3,11 @@ set -e file="$1" -# Trisquel: Deb822-first, keep legacy clean : "${ROOT:=/target}" SD="$ROOT/etc/apt/sources.list.d" SF="$SD/trisquel.sources" -LEGACY="$ROOT/etc/apt/sources.list" MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources" +SAVETO="$ROOT/etc/apt/sources.list.new" mkdir -p "$SD" FASTEST=https://archive.trisquel.org/trisquel/ @@ -72,6 +71,7 @@ Signed-By: ${SIGNED_BY} EOF # Keep the legacy file and the pipeline temp file as a single breadcrumb line -printf '%s\n' "$MSG" > "$LEGACY" +: > "$SAVETO" printf '%s\n' "$MSG" > "$file" + exit 0 diff --git a/helpers/make-ubiquity b/helpers/make-ubiquity index 0ccc52c..cdce2ae 100644 --- a/helpers/make-ubiquity +++ b/helpers/make-ubiquity @@ -19,7 +19,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=43 +VERSION=43.1 . ./config