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:
Igor Gnatenko 2018-02-07 16:45:49 +01:00
parent c09c66271e
commit 28e47feb91
1 changed files with 5 additions and 5 deletions

View File

@ -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