rpm-build/scripts/systemd-services.req.files
2023-03-22 16:31:45 +03:00

14 lines
269 B
Bash
Executable File

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
case "$f" in
${RPM_BUILD_ROOT-}/lib/systemd/system/*) ;;
${RPM_BUILD_ROOT-}/usr/lib/systemd/user/*) ;;
*) continue ;;
esac
case "$t" in
*'symbolic link to '*) ;;
*' directory') ;;
*) echo "$f" ;;
esac
done