Bypass linter error

This commit is contained in:
Josué Tille 2024-04-21 01:50:52 +02:00
parent f85f6ef626
commit 3773e69167
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
3 changed files with 10 additions and 10 deletions

View file

@ -17,6 +17,14 @@ fi
# DEFINE ALL COMMON FONCTIONS # DEFINE ALL COMMON FONCTIONS
#================================================= #=================================================
install_pkg_conf() {
# 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
}
install_dependance() { install_dependance() {
ynh_add_swap --size=2000 ynh_add_swap --size=2000

View file

@ -13,11 +13,7 @@ source /usr/share/yunohost/helpers
seafile_version=$(ynh_app_upstream_version) seafile_version=$(ynh_app_upstream_version)
# Install manually pkgconf install_pkg_conf
# 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 # STANDARD MODIFICATIONS

View file

@ -20,11 +20,7 @@ if [ "$YNH_APP_CURRENT_VERSION" == '-' ] || ynh_compare_current_package_version
ynh_die "Upgrade from this version not supported" ynh_die "Upgrade from this version not supported"
fi fi
# Install manually pkgconf install_pkg_conf
# 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_script_progression --message="Stoping services..."