Skip to content

Instantly share code, notes, and snippets.

@tvlooy
Last active December 25, 2015 17:08
Show Gist options
  • Save tvlooy/7010470 to your computer and use it in GitHub Desktop.
Save tvlooy/7010470 to your computer and use it in GitHub Desktop.
Remove AcmeDemoBundle
#!/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