charm-ceph/hooks/upgrade-charm
Chris MacNaughton 15e6c17a72 Add install_deps to ensure python dependencies are installed
Change-Id: I02d3954bfc607a4520e490913e4ad3001deec55b
2016-12-01 13:46:11 -05:00

8 lines
198 B
Bash
Executable File

#!/bin/bash
# Wrapper to ensure that old python bytecode isn't hanging around
# after we upgrade the charm with newer libraries
rm -rf **/*.pyc
./hooks/install_deps
exec ./hooks/upgrade-charm.real