Fixed contrib scripts. Added *.pyc cleaning scripts

This commit is contained in:
Bas Stottelaar
2014-11-12 23:22:41 +01:00
parent 6f91694d51
commit a43256e802
2 changed files with 13 additions and 10 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Display information
echo "This script will remove *.pyc files. These files are generated by Python, but they can cause conflicts after an upgrade. It's safe to remove them, because they will be regenerated."
echo "Press enter to continue, or CTRL + C to quit."
read
# Remove the *.pyc
find "`dirname $0`/.." -type f -name "*.pyc" -exec rm -rf {} \;