Skip to content

Commit ef503a8

Browse files
committed
debian: ignore pycompile errors
1 parent d2a3bd1 commit ef503a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

debian/cloudstack-common.postinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ CLOUDUTILS_DIR="/usr/share/pyshared/"
2222
DIST_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
2323

2424
if which pycompile >/dev/null 2>&1; then
25-
pycompile -p cloudstack-common
25+
pycompile -p cloudstack-common || true
2626
fi
2727

2828
if which pycompile >/dev/null 2>&1; then
29-
pycompile -p cloudstack-common /usr/share/cloudstack-common
29+
pycompile -p cloudstack-common /usr/share/cloudstack-common || true
3030
fi
3131

3232
cp $CLOUDUTILS_DIR/cloud_utils.py $DIST_DIR

0 commit comments

Comments
 (0)