Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

(fix) (debian) MON-15511 add dependencies and locales configuration #11996

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ci/debian/centreon-web-common.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

if [ "$1" = "configure" ] ; then
update-alternatives --set php /usr/bin/php8.1

# Set locales on system to use in translation
sed -i \
-e '/^#.* en_US.UTF-8 /s/^#//' \
-e '/^#.* fr_FR.UTF-8 /s/^#//' \
-e '/^#.* pt_PT.UTF-8 /s/^#//' \
-e '/^#.* pt_BR.UTF-8 /s/^#//' \
-e '/^#.* es_ES.UTF-8 /s/^#//' \
/etc/locale.gen && \
locale-gen
fi

exit 0
10 changes: 6 additions & 4 deletions ci/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Description: Centreon is a network, system, applicative supervision and monitori

Package: centreon-central
Architecture: all
Depends:
Depends:
centreon-poller-centreon-engine (>= ${centreon:version}~),
centreon-license-manager (>= ${centreon:version}~),
centreon-pp-manager (>= ${centreon:version}~),
Expand Down Expand Up @@ -66,7 +66,9 @@ Depends:
centreon-common (>= ${centreon:version}~),
centreon-perl-libs (>= ${centreon:version}~),
php8.1,
php8.1-cli
php8.1-cli,
locales,
gettext
Description: Centreon installation entry point.

Package: centreon-web
Expand Down Expand Up @@ -149,7 +151,7 @@ Description: This package contains Centreon Trap engine

Package: centreon-poller-centreon-engine
Architecture: any
Depends:
Depends:
centreon-broker (>= ${centreon:version}~),
centreon-engine (>= ${centreon:version}~),
centreon-gorgone (>= ${centreon:version}~),
Expand All @@ -175,7 +177,7 @@ Description: This package add rights and default directories for a poller

Package: centreon-plugins-sudoers
Architecture: all
Depends:
Depends:
centreon-common (>= ${centreon:version}~),
centreon-engine (>= ${centreon:version}~),
centreon-gorgone (>= ${centreon:version}~),
Expand Down