#!/bin/sh -efu . @RPMCONFIGDIR@/functions . @RPMCONFIGDIR@/find-package SystemdServiceReq() { local bin grep -h '^[[:space:]]*Exec[^=]*=[^-]' "$1" | sed -n 's|^[[:space:]]*Exec[^=]*=[^/]*\(/[^[:space:]]\+\).*|\1|p' | while read bin; do FindPackage "$1" "$bin" done } ArgvFileAction SystemdServiceReq "$@"