diff --git a/manifest.toml b/manifest.toml index 460bc19..08eac8e 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~ynh3" +version = "1.0.0~ynh4" maintainers = ["mckmonster"] [upstream] diff --git a/scripts/install b/scripts/install index 6cdb9b1..a8f3d16 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 5e28798..ac3c214 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================