Install pkgconf manually to fix mysql error

This commit is contained in:
Josué Tille 2024-04-20 23:17:25 +02:00
parent 97b03cd6fc
commit f85f6ef626
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
2 changed files with 12 additions and 0 deletions

View file

@ -13,6 +13,12 @@ source /usr/share/yunohost/helpers
seafile_version=$(ynh_app_upstream_version)
# Install manually pkgconf
# WARNING don't move this to dependencies
# We install this manually because we have an issue between pkgconf and pkg-config.
# If pkg-config is already installed on the system we can't declare pkgconf as dependency as pkg-config need to be removed to install pkgconf (note that pkgconf replace pkg-config and both can't be installed)
ynh_apt install pkgconf
#=================================================
# STANDARD MODIFICATIONS
#=================================================

View file

@ -20,6 +20,12 @@ if [ "$YNH_APP_CURRENT_VERSION" == '-' ] || ynh_compare_current_package_version
ynh_die "Upgrade from this version not supported"
fi
# Install manually pkgconf
# WARNING don't move this to dependencies
# We install this manually because we have an issue between pkgconf and pkg-config.
# If pkg-config is already installed on the system we can't declare pkgconf as dependency as pkg-config need to be removed to install pkgconf (note that pkgconf replace pkg-config and both can't be installed)
ynh_apt install pkgconf
ynh_script_progression --message="Stoping services..."
ynh_systemd_action --service_name seafile --action stop