From 86269b2157df0421af83949e07334cf0f0fbdc68 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sun, 22 Feb 2026 03:06:47 -0600 Subject: [PATCH] apt-mirror: rearrange version to match current scheme --- helpers/make-apt-mirror | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/helpers/make-apt-mirror b/helpers/make-apt-mirror index 5962b05f..0ed99347 100644 --- a/helpers/make-apt-mirror +++ b/helpers/make-apt-mirror @@ -18,12 +18,12 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=5 +VERSION=6 . ./config # Set version number due to source origin change -export FULLVERSION="$(sed 's|ubuntu0.22.04.1||' <<< $FULLVERSION)" +export FULLVERSION="$(sed -E 's/^(.*)ubuntu([^+]+)(\+.*)$/\1\3~ubuntu\2/' <<< $FULLVERSION)" cp $DATA/Trisquel-mirror.list debian/ @@ -54,7 +54,6 @@ index e9c85e9..b6c1c97 100755 EOF changelog "Added config and update manpage for Trisquel." -head -n1 debian/changelog | grep -q ubuntu && echo "error: update upstream version" && exit package