Hi Petter, On Freitag, 20. Februar 2009, Petter Reinholdtsen wrote: > > Log: > > Change version number to "5.0.0+edu0 alpha", to reflect the new Debian > > versioning scheme. We must still remember to change this to "5.0.0+edu0" > > before the real release. > This also need to be done in the postinst to handle version number > upgrades.
From looking at the postinst I dont see where. Can you explain?
This is the code I can see which is relevant, but I dont see any need...
oldversions="sarge \
terra_alpha \
terra_test01 terra_test02 terra_test03 terra_test04 \
terra_pre01 terra_pre02 \
terra_rc1 terra_rc2 terra_rc3 terra_rc4 terra_rc5"
# For the stable etch release, use '3.0r0 terra' as the version number
new_version="$(cat /usr/lib/debian-edu-install/version)"
if [ -f $debian_edu_config ] ; then
( # Subshell to avoid importing the variables into the entire script
VERSION=""
. $debian_edu_config
# Need to list versions with space here, to avoid unwanted
# word splitting
for i in $oldversions '3.0r0 terra' '3.0r1 terra'
regards,
Holger
signature.asc
Description: This is a digitally signed message part.

