Skip to content

Instantly share code, notes, and snippets.

@jverdeyen
Forked from tvlooy/removeacme.sh
Created December 6, 2013 15:08
Show Gist options
  • Save jverdeyen/7826182 to your computer and use it in GitHub Desktop.
Save jverdeyen/7826182 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Remove bundle files
rm -rf src/Acme
sed -i '/AcmeDemoBundle/,+2 d' app/config/routing_dev.yml
sed -i '/AcmeDemoBundle/d' app/AppKernel.php
rm -rf web/bundles/acmedemo
# Remove the base template
rm -rf app/Resources/
# I prefer comments over an empty file in this case
sed -i 's/^/#/g' app/config/security.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment