From ad1b30c2987f4a31144c5e3ec88dd057ac25435e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Sep 2021 23:27:12 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index aac0288..d8e0f81 100755 --- a/scripts/install +++ b/scripts/install @@ -147,9 +147,11 @@ ynh_add_systemd_config # MODIFY A CONFIG FILE #================================================= -ynh_add_config --template="../conf/passwd" --destination="$final_path/data/passwd" +echo "${admin}:${password}" >> $final_path/data/passwd + +#ynh_add_config --template="../conf/passwd" --destination="$final_path/data/passwd" chmod 400 "$final_path/data/passwd" -chown $app "$final_path/data/passwd" +chown $app: "$final_path/data/passwd" ynh_add_config --template="../conf/groupname.json" --destination="$datadir/groups/$group_name.json" #=================================================