openssh: fix version number and changelogs discrepancy

This commit is contained in:
Ark74 2023-12-05 11:48:39 -06:00
parent 26711fb8bc
commit 2344d929e4

View file

@ -17,15 +17,20 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=2 VERSION=3
NETINST=true NETINST=true
. ./config . ./config
#FIXME:T12
# Set version number due to source origin change
export FULLVERSION="$(sed 's|ubuntu0.4||' <<< $FULLVERSION)"
sed 's:Ubuntu:Trisquel\ GNU/Linux:g' -i debian/rules sed 's:Ubuntu:Trisquel\ GNU/Linux:g' -i debian/rules
sed "s|^SSH_EXTRAVERSION.*|SSH_EXTRAVERSION := Trisquel_GNU/Linux_$REVISION-$VERSION|" -i debian/rules sed "s|^SSH_EXTRAVERSION.*|SSH_EXTRAVERSION := Trisquel_GNU/Linux_$REVISION-$VERSION|" -i debian/rules
changelog "Rebranded for Trisquel" changelog "Rebranded for Trisquel"
head -n1 debian/changelog | grep -q ubuntu && echo "error: update upstream version" && exit
package package