Update regen.sh with new & upcoming core extensions
authoreileen <emcnaughton@wikimedia.org>
Tue, 14 Jul 2020 21:56:12 +0000 (09:56 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 14 Jul 2020 21:56:12 +0000 (09:56 +1200)
Putting this out there in case some goes 'oh I could just write the bash to do that off the folder names
in the directory.....

bin/regen.sh

index 3d5f6bcf852fc14e76fd7ec41bc20c14f674355f..8a1c5375f58eca60d6e1170410b68df194bd3c19 100755 (executable)
@@ -49,7 +49,7 @@ php GenerateData.php
 
 ## Prune local data
 $MYSQLCMD -e "DROP TABLE zipcodes; DROP TABLE IF EXISTS civicrm_install_canary; DELETE FROM civicrm_cache; DELETE FROM civicrm_setting;"
-$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes');"
+$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'search', 'flexmailer');"
 TABLENAMES=$( echo "show tables like 'civicrm_%'" | $MYSQLCMD | grep ^civicrm_ | xargs )
 
 cd $CIVISOURCEDIR/sql