HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
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