Change position to set password

This commit is contained in:
mckmonster 2023-06-09 15:17:20 +02:00
parent 85df19dc69
commit c07feece23
2 changed files with 3 additions and 7 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~ynh4"
version = "1.0.0~ynh5"
maintainers = ["mckmonster"]
[upstream]

View file

@ -19,12 +19,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# Put password on system user
#=================================================
echo "$password" | passwd --stdin $app
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
@ -34,6 +28,8 @@ ynh_setup_source --dest_dir="$install_dir"
chown -R $app:www-data "$install_dir"
echo "$password" | passwd --stdin $app
#=================================================
# Get code from git
#=================================================