????
Current Path : /usr/local/ssl/share/cagefs/ |
Current File : //usr/local/ssl/share/cagefs/065-passenger-cagefs |
#!/bin/bash ARGS=$@ PACKAGE="ea-apache24-mod-passenger" # passed arguments appears to be '--pkg_list=/tmp/tmp3fgs68qr', # specifying the file containing the list of packages # involved in the current transaction file_name=$(echo "$ARGS" | awk -F '=' '{print $2}') packages=$(cat "$file_name") if [[ "$packages" =~ $PACKAGE ]]; then /usr/sbin/cagefsctl --reconfigure-cagefs fi exit 0