Try to fix set password
This commit is contained in:
parent
9297a867fb
commit
85df19dc69
3 changed files with 2 additions and 8 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue