whoami7 - Manager
:
/
home
/
papecmvm
/
www
/
documents
/
6204_Rajpara
/
2020
/
k_november
/
receipt
/
Upload File:
files >> //home/papecmvm/www/documents/6204_Rajpara/2020/k_november/receipt/pythondeps.sh.tar
usr/lib/rpm/pythondeps.sh 0000755 00000001631 14677030032 0011460 0 ustar 00 #!/bin/bash [ $# -ge 1 ] || { cat > /dev/null exit 0 } case $1 in -P|--provides) shift # Match buildroot/payload paths of the form # /PATH/OF/BUILDROOT/usr/bin/pythonMAJOR.MINOR # generating a line of the form # python(abi) = MAJOR.MINOR # (Don't match against -config tools e.g. /usr/bin/python2.6-config) grep "/usr/bin/python.\..$" \ | sed -e "s|.*/usr/bin/python\(.\..\)|python(abi) = \1|" ;; -R|--requires) shift # Match buildroot paths of the form # /PATH/OF/BUILDROOT/usr/lib/pythonMAJOR.MINOR/ and # /PATH/OF/BUILDROOT/usr/lib64/pythonMAJOR.MINOR/ # generating (uniqely) lines of the form: # python(abi) = MAJOR.MINOR grep -E "/usr/lib[^/]*/python[[:digit:]]+\.[[:digit:]]+/.*" \ | sed -Ee "s|.*/usr/lib[^/]*/python([[:digit:]]+\.[[:digit:]]+)/.*|python(abi) = \1|g" \ | sort | uniq ;; esac exit 0
Copyright ©2021 || Defacer Indonesia