Try to fix set password

This commit is contained in:
mckmonster 2023-06-09 15:13:40 +02:00
parent 9297a867fb
commit 85df19dc69
3 changed files with 2 additions and 8 deletions

View file

@ -2,7 +2,7 @@ packaging_format = 2
name = "Site TDAH-France"
id = "spip_hypersupers"
description.fr = "Installation SPIP pour une installation de dev pour le site TDAH-France"
version = "1.0.0~ynh3"
version = "1.0.0~ynh4"
maintainers = ["mckmonster"]
[upstream]

View file

@ -23,7 +23,7 @@ ynh_abort_if_errors
# Put password on system user
#=================================================
passwd $app $password
echo "$password" | passwd --stdin $app
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS

View file

@ -11,12 +11,6 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# Put password on system user
#=================================================
passwd $app $password
#=================================================
# STOP SYSTEMD SERVICE
#=================================================