use shell to run ldconfig %transfiletrigger
glibc-common already depends on /bin/sh, so it would be installed at a time when trigger runs. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c09c66271e
commit
28e47feb91
10
glibc.spec
10
glibc.spec
@ -444,13 +444,13 @@ libraries, as well as national language (locale) support.
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
# File triggers for when libraries are added or removed in standard
|
# File triggers for when libraries are added or removed in standard
|
||||||
# paths. Use Lua to avoid a dependency on /bin/sh.
|
# paths.
|
||||||
%transfiletriggerin common -p <lua> -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
%transfiletriggerin common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
||||||
os.execute("/sbin/ldconfig")
|
/sbin/ldconfig
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%transfiletriggerpostun common -p <lua> -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
%transfiletriggerpostun common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
||||||
os.execute("/sbin/ldconfig")
|
/sbin/ldconfig
|
||||||
%end
|
%end
|
||||||
|
|
||||||
# We need to run ldconfig manually because ldconfig cannot handle the
|
# We need to run ldconfig manually because ldconfig cannot handle the
|
||||||
|
Loading…
Reference in New Issue
Block a user