mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Update upgrade
remove file unused if exist
This commit is contained in:
parent
fa6808021a
commit
eaf06241c4
1 changed files with 5 additions and 0 deletions
|
@ -132,6 +132,11 @@ if [ -d "$install_dir/data/data" ]; then
|
|||
ynh_secure_remove --file="$install_dir/data/data"
|
||||
fi
|
||||
|
||||
# clean unused file if exist
|
||||
if [[ -f "$install_dir/config.local.user.php" ]]; then
|
||||
ynh_secure_remove --file="$install_dir/config.local.user.php"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue