Remove unused directories or files from older release
This commit is contained in:
parent
2521e38eda
commit
c0a74b2122
|
@ -93,6 +93,13 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
|
# Remove unused directories or files from older release
|
||||||
|
ynh_secure_remove --file="$final_path/aide.svg"
|
||||||
|
ynh_secure_remove --file="$final_path/favicons"
|
||||||
|
ynh_secure_remove --file="$final_path/parinux.png"
|
||||||
|
ynh_secure_remove --file="$final_path/phpqrcode"
|
||||||
|
ynh_secure_remove --file="$final_path/ubuntu-dl.ttf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in New Issue