From 4f69832a996d30c36ce4774ec5a9f238b748c5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Sun, 22 Feb 2026 08:27:33 -0600 Subject: [PATCH] nano: rearrange version to match current scheme --- helpers/make-nano | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/helpers/make-nano b/helpers/make-nano index 61875840..4776206e 100644 --- a/helpers/make-nano +++ b/helpers/make-nano @@ -23,15 +23,14 @@ # or fetch such packages from Debian in order to build the required udeb packages. ## -VERSION=1 +VERSION=2 NETINST=true . ./config # Set version number due to source origin change -export FULLVERSION="$(sed 's|ubuntu0.1||' <<< $FULLVERSION)" +export FULLVERSION="$(sed -E 's/^(.*)ubuntu([^+]+)(\+.*)$/\1\3~ubuntu\2/' <<< $FULLVERSION)" changelog "Fetch and build as udeb dependency for debian-installer." -head -n1 debian/changelog | grep -q ubuntu && echo "error: update upstream version" && exit changelog "Rebuild upstream to get udeb dependency for debian-installer." package