File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,15 @@ if [ "$COMPOSE_PROJECT_NAME" == "jetpack_dev" ] ; then
109109	fi 
110110fi 
111111
112+ PLUGINS_TO_NOT_SYMLINK=(' wpcloud-sso' 
112113for  DIR  in  /usr/local/src/jetpack-monorepo/projects/plugins/* ;  do 
113114	[[ -d  " $DIR " ||  continue  #  We are only interested in directories, e.g. different plugins.
114115	[[ -f  " $DIR /composer.json" ||  continue  #  If there's no composer.json in the folder, it's probably not a plugin.
115116	PLUGIN=" $( basename " $DIR " ) " 
116117
118+ 	#  Some plugins should not be symlinked
119+ 	printf  ' %s\n' " ${PLUGINS_TO_NOT_SYMLINK[@]} " |  grep -qxF " $PLUGIN " &&  continue 
120+ 
117121	#  Read plugin slug from composer.json, with fallback to beta-plugin-slug
118122	PLUGIN_SLUG=$( jq -r ' .extra["wp-plugin-slug"] // .extra["beta-plugin-slug"]' " $DIR /composer.json" ) 
119123
@@ -124,8 +128,6 @@ for DIR in /usr/local/src/jetpack-monorepo/projects/plugins/*; do
124128	fi 
125129done 
126130
127- 
128- 
129131WP_HOST_PORT=" :$HOST_PORT " 
130132
131133if  [ 80 -eq  " $HOST_PORT " ;  then 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments