remove pyc files before update

This commit is contained in:
j 2014-08-09 22:04:23 +02:00
parent fdc10035a4
commit b5df7332b3

2
ctl
View file

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