From b5df7332b331deff9af7d8f087d8f33afb9585d8 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 Aug 2014 22:04:23 +0200 Subject: [PATCH] remove pyc files before update --- ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctl b/ctl index 52f25d6..b44de47 100755 --- a/ctl +++ b/ctl @@ -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`