Merge branch 'MON-34667-naming-scheme-debian-packages' of https://github.com/centreon/centreon-plugins into MON-34667-naming-scheme-debian-packages

This commit is contained in:
Paul Oureib 2024-01-31 16:54:31 +01:00
commit 135f3f98dc
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ runs:
fi
if [ -z "$MAJOR_VERSION" ]; then
MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )
MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 )
MAJOR_LEFT=$( echo $VERSION | cut -d "." -f1 )
MAJOR_RIGHT=$( echo $VERSION | cut -d "-" -f1 | cut -d "." -f2 )
if [ "$MAJOR_RIGHT" == "04" ]; then
BUMP_MAJOR_LEFT="$MAJOR_LEFT"
BUMP_MAJOR_RIGHT="10"