remove pyc files before update

This commit is contained in:
j 2014-08-09 22:04:23 +02:00
parent fdc10035a4
commit b5df7332b3
1 changed files with 1 additions and 1 deletions

2
ctl
View File

@ -100,8 +100,8 @@ if [ "$1" == "update" ]; then
git pull
echo Update $NAME..
cd "$BASE/$NAME"
git pull
find . -name "*.pyc" -exec rm "{}" \;
git pull
"$0" setup
"$0" update_static > /dev/null
NEW=`"$0" version`