Commit 5bab45e9 authored by Sandeep Kadam's avatar Sandeep Kadam

Change logic for external VF plugin in local build

parent b3f22ec6
......@@ -52,9 +52,16 @@ fi
echo "Download external VF-WP plugins"
wget --no-check-certificate -O &&
unzip -o && rsync -acv --exclude=.git ./vfwp-external-plugins-master/. ./wp-content/plugins/ &&
rm -rf vfwp-external-plugins-master
git clone
# Start symlink for plugins
if [ -d "${WP_DEST_PLUGIN_PATH}" ]; then
echo "Creating Plugins symlinks";
PLUGIN_DIRS=$(ls ./vfwp-external-plugins | xargs);
for DIR in $PLUGIN_DIRS; do
ln -sf ../../../wp-content/plugins/${DIR} ${WP_DEST_PLUGIN_PATH};
# List of Array for default VF plugins
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment