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
b555652c42
commit
eeea2f5c99
1 changed files with 8 additions and 5 deletions
|
@ -154,11 +154,14 @@ ynh_replace_string "yunobase" "$db_name" "$final_path/config.php"
|
|||
### that really need such authorization.
|
||||
|
||||
# Remove non utile files
|
||||
rm -rf "$final_path/install"
|
||||
rm -f "$final_path/INSTALL.txt"
|
||||
rm -f "$final_path/README.md"
|
||||
rm -f "$final_path/.htaccess"
|
||||
rm -rf "$final_path/.git*"
|
||||
pushd "$final_path"
|
||||
rm -rf install
|
||||
rm -f INSTALL.txt
|
||||
rm -f README.md
|
||||
rm -f .htaccess"
|
||||
rm -rf .git*
|
||||
popd
|
||||
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R www-data: "$final_path"
|
||||
|
|
Loading…
Reference in a new issue