diff --git a/manifest.toml b/manifest.toml index 08eac8e..d46329a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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] diff --git a/scripts/install b/scripts/install index a8f3d16..99e43c3 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #=================================================