|
@@ -1,4 +1,7 @@
|
|
|
#!/bin/bash
|
|
|
+echo "Confirming n98-magerun2 is installed..."
|
|
|
+bin/n98-magerun2 > /dev/null 2>&1
|
|
|
+
|
|
|
DEFAULT_THEME_ID="select value from core_config_data where path = 'design/theme/theme_id'"
|
|
|
THEME_PATH="select theme_path from theme where theme_id in ($DEFAULT_THEME_ID);"
|
|
|
VENDOR_THEME=$(bin/n98-magerun2 db:query "$THEME_PATH" | sed -n 2p | cut -d$'\r' -f1)
|