1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpsysinfo_ynh.git synced 2024-09-03 19:56:43 +02:00

Update install

add .htpass_phpsysinfo file to admin's home directory
This commit is contained in:
Thatoo 2020-09-20 17:59:23 +02:00 committed by GitHub
parent 1db39f122a
commit 18db438cbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
ynh_script_progression --message="Installation of $app completed" --time --last