HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //usr/share/python3/runtime.d/public_modules.rtinstall
#! /bin/sh
set -e

VERSION=${2#python}
if which py3compile >/dev/null 2>&1; then
    py3compile -V $VERSION /usr/lib/python3/dist-packages
else
    echo >&2 "py3compile not found in $(basename $0) hook."
    exit 1
fi