We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe486f commit 8e3bbe2Copy full SHA for 8e3bbe2
1 file changed
debian/cloudstack-common.postinst
@@ -21,12 +21,12 @@ set -e
21
CLOUDUTILS_DIR="/usr/share/pyshared/"
22
DIST_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
23
24
-if which pycompile >/dev/null 2>&1; then
25
- pycompile -p cloudstack-common
+if which py3compile >/dev/null 2>&1; then
+ py3compile -p cloudstack-common
26
fi
27
28
29
- pycompile -p cloudstack-common /usr/share/cloudstack-common
+ py3compile -p cloudstack-common /usr/share/cloudstack-common
30
31
32
cp $CLOUDUTILS_DIR/cloud_utils.py $DIST_DIR
0 commit comments