Sindbad~EG File Manager

Current Path : /usr/share/python/runtime.d/
Upload File :
Current File : //usr/share/python/runtime.d/public_modules.rtinstall

#! /bin/sh
set -e

VERSION=${2#python}
case "$VERSION" in
    2.[45])
	sitedir=/usr/lib/python$VERSION/site-packages;;
    *)
	sitedir=/usr/lib/python$VERSION/dist-packages
esac

if which python >/dev/null 2>&1 && which pycompile >/dev/null 2>&1; then
    pycompile -V $VERSION $sitedir
else
    echo >&2 "python or pycompile not found in $(basename $0) hook."
    exit 1
fi

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists