mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Bypass linter error
This commit is contained in:
parent
f85f6ef626
commit
3773e69167
3 changed files with 10 additions and 10 deletions
|
@ -17,6 +17,14 @@ fi
|
|||
# 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() {
|
||||
ynh_add_swap --size=2000
|
||||
|
||||
|
|
|
@ -13,11 +13,7 @@ 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
|
||||
install_pkg_conf
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
|
@ -20,11 +20,7 @@ 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
|
||||
install_pkg_conf
|
||||
|
||||
ynh_script_progression --message="Stoping services..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue