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 vfwp-external-plugins-master.zip https://github.com/visual-framework/vfwp-external-plugins/archive/master.zip &&
unzip -o vfwp-external-plugins-master.zip && rsync -acv --exclude=.git ./vfwp-external-plugins-master/. ./wp-content/plugins/ &&
rm -rf vfwp-external-plugins-master
git clone https://github.com/visual-framework/vfwp-external-plugins.git
# 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};
done;
fi
# List of Array for default VF plugins
PLUGINS_LIST='
......
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