[fix] prune moulinette cache when deploying

This commit is contained in:
Laurent Peuch 2016-01-22 22:04:57 +01:00
parent bc8d0c6680
commit 6b1e0d54a3

View file

@ -131,6 +131,7 @@ elif [ "$1" = "deploy" ]; then
cd $BASE_DIR/moulinette cd $BASE_DIR/moulinette
./setup.py install ./setup.py install
cd .. cd ..
[-e "./cache/moulinette/actionsmap/yunohost.pkl"] && rm /var/cache/moulinette/actionsmap/yunohost.pkl
echo "moulinette deployed" echo "moulinette deployed"
;; ;;
ssowat) ssowat)