mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Fix bullseye
This commit is contained in:
parent
61a4df5143
commit
3bd3f8c2cd
3 changed files with 4 additions and 4 deletions
|
@ -79,7 +79,7 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
|||
|
||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key='https://dl.yarnpkg.com/debian/pubkey.gpg'
|
||||
|
||||
if $(dpkg --compare-versions $(cat /etc/debian_version) gt "11.0")
|
||||
if dpkg --compare-versions $(cat /etc/debian_version) ge 11.0
|
||||
then
|
||||
ynh_add_app_dependencies --package=$extra_debian_pkg_dependencies
|
||||
else
|
||||
|
@ -95,7 +95,7 @@ ynh_script_progression --message="Configuring system user..."
|
|||
# Create a system user
|
||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
||||
yunohost user create ${app}_notifs --firstname "Mobilizon" --lastname "Notifications" --mail ${app}_notifs@$domain --password "$ynh_user_password" -q 0
|
||||
yunohost user create ${app}_notifs --firstname "Mobilizon" --lastname "Notifications" --domain "$domain" --password "$ynh_user_password" -q 0
|
||||
yunohost user update ${app}_notifs --add-mailalias $app@$domain --add-mailforward $admin_email
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -109,7 +109,7 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
|||
|
||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key='https://dl.yarnpkg.com/debian/pubkey.gpg'
|
||||
|
||||
if $(dpkg --compare-versions $(cat /etc/debian_version) gt "11.0")
|
||||
if dpkg --compare-versions $(cat /etc/debian_version) ge 11.0
|
||||
then
|
||||
ynh_add_app_dependencies --package=$extra_debian_pkg_dependencies
|
||||
else
|
||||
|
|
|
@ -214,7 +214,7 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
ynh_remove_nodejs
|
||||
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||
|
||||
if $(dpkg --compare-versions $(cat /etc/debian_version) gt "11.0")
|
||||
if dpkg --compare-versions $(cat /etc/debian_version) ge 11.0
|
||||
then
|
||||
ynh_add_app_dependencies --package=$extra_debian_pkg_dependencies
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue