nano: rearrange version to match current scheme

This commit is contained in:
Luis Guzmán 2026-02-22 08:27:33 -06:00
parent 93cf6dce30
commit 4f69832a99

View file

@ -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