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:
parent
1db39f122a
commit
18db438cbf
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue