mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Install pkgconf manually to fix mysql error
This commit is contained in:
parent
97b03cd6fc
commit
f85f6ef626
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue