mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
remove old duplicated files unused
This commit is contained in:
parent
db2c97fbcc
commit
f443760a51
1 changed files with 5 additions and 0 deletions
|
@ -127,6 +127,11 @@ sleep 5
|
|||
# remove data directory backup
|
||||
ynh_secure_remove --file="$tmp_data_backup"
|
||||
|
||||
# clean duplicate folder if exist
|
||||
if [ -d "$install_dir/data/data" ]
|
||||
ynh_secure_remove --file="$install_dir/data/data"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue