We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cda64ba + 0c007ff commit 1862f6fCopy full SHA for 1862f6f
1 file changed
magento2/usr/local/share/magento2/magento_functions.sh
@@ -322,6 +322,10 @@ function do_magento_assets_install() {
322
}
323
324
function do_magento_assets_cleanup() {
325
+ if [ -z "$DATABASE_ARCHIVE_PATH" ] && [ -z "$ASSET_ARCHIVE_PATH" ]; then
326
+ return
327
+ fi
328
+
329
if [ -d /app/tools/assets/ ]; then
330
find /app/tools/assets/ -type f ! -path "*${DATABASE_ARCHIVE_PATH}" -delete
331
fi
0 commit comments