diff options
Diffstat (limited to 'autoscripts/postinst-python')
-rw-r--r-- | autoscripts/postinst-python | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-python b/autoscripts/postinst-python index 6f1f9a5b..c48d1aa6 100644 --- a/autoscripts/postinst-python +++ b/autoscripts/postinst-python @@ -1,5 +1,5 @@ PYTHON=#PYVER# -if which $PYTHON >/dev/null 2>&1; then +if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then DIRLIST="#DIRLIST#" for i in $DIRLIST ; do $PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i |