mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
Update install
This commit is contained in:
parent
37c8a41827
commit
22722b968f
1 changed files with 5 additions and 0 deletions
|
@ -153,6 +153,11 @@ ynh_replace_string "yunobase" "$db_name" "$final_path/config.php"
|
|||
### Then, if write authorization is needed, any access should be given only to directories
|
||||
### that really need such authorization.
|
||||
|
||||
# Remove non utile files
|
||||
rm -rf "$final_path/install"
|
||||
rm -rf "$final_path/.htaccess"
|
||||
rm -rf "$final_path/.git*"
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R www-data: "$final_path"
|
||||
|
||||
|
|
Loading…
Reference in a new issue