HEX
Server: Apache
System: Linux 95-217-38-122.cprapid.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
User: targetplatform (1004)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/rpm/scldeps.sh
#!/usr/bin/bash

# Read all the input!
cat > /dev/null

[ $# -ge 2 ] || {
    exit 0
}

option=$1
shift 1

case $option in
-P|--provides)
    echo -n "scl-package($1)"
    ;;
-R|--requires)
    for o in "$@"; do
        echo "$o"
    done
    ;;
esac
exit 0