Don't use run-parts for hooks discovery (#1558612)
This commit is contained in:
parent
a525cff986
commit
035f21b66d
@ -217,7 +217,7 @@ run_hookdir() {
|
|||||||
dir="${1}"
|
dir="${1}"
|
||||||
|
|
||||||
if [ -d "${dir}" ]; then
|
if [ -d "${dir}" ]; then
|
||||||
for script in $(run-parts --list $dir); do
|
for script in $(find $dir -executable ! -empty); do
|
||||||
run_hook ${script} || return $?
|
run_hook ${script} || return $?
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Summary: Dynamic host configuration protocol software
|
Summary: Dynamic host configuration protocol software
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.3.6
|
Version: 4.3.6
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# dcantrell maintaining the package) made incorrect use of the epoch and
|
||||||
# that's why it is at 12 now. It should have never been used, but it was.
|
# that's why it is at 12 now. It should have never been used, but it was.
|
||||||
@ -672,6 +672,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 21 2018 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-19
|
||||||
|
- Don't use run-parts for hooks discovery (#1558612)
|
||||||
|
|
||||||
* Fri Mar 09 2018 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-18
|
* Fri Mar 09 2018 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-18
|
||||||
- Own ldap schema directory (#1553432)
|
- Own ldap schema directory (#1553432)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user