From 18db438cbffb2c2e49ff0f3f364dc27818f7082c Mon Sep 17 00:00:00 2001 From: Thatoo Date: Sun, 20 Sep 2020 17:59:23 +0200 Subject: [PATCH] Update install add .htpass_phpsysinfo file to admin's home directory --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 60bc7a2..72625c4 100644 --- a/scripts/install +++ b/scripts/install @@ -91,6 +91,9 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" +sudo apt install httpd-tools +sudo htpasswd -c /home/$admin/.htpass_phpsysinfo $admin + #================================================= # NGINX CONFIGURATION #================================================= @@ -190,4 +193,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" --time --last \ No newline at end of file +ynh_script_progression --message="Installation of $app completed" --time --last