1
0
Fork 0
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:
liberodark 2020-01-13 10:39:38 +01:00 committed by GitHub
parent 37c8a41827
commit 22722b968f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"