Skip to content

Instantly share code, notes, and snippets.

View viktor-zhuromskyy's full-sized avatar

Viktor Zhuromskyy viktor-zhuromskyy

View GitHub Profile
@viktor-zhuromskyy
viktor-zhuromskyy / fix-missing-files-issue.sh
Last active January 7, 2017 10:40
Copy/Symlink missing, wrongly compiled, broken files in static content area after static content compilation of Magento 2
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
MAGE2ROOT="/var/data/www/magento"
## Copy/Symlink missing/broken files for JS BUNDLING / MINIFICATION mode since it does not always work as expected, or some extensions do not support it
## Cycle through frontend themes and locales locales
front_theme_vendor=( Devdesco ) # Array of frontend theme vendors compiled