]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-fix--p-interpreter-and-empty-script.patch
- reenable ldconfig optimization, the problem might have been caused
[packages/rpm.git] / rpm-fix--p-interpreter-and-empty-script.patch
CommitLineData
9f9190ed
JR
1--- rpm-5.4.10/lib/psm.c~ 2012-09-10 07:58:10.220193941 +0200
2+++ rpm-5.4.10/lib/psm.c 2012-09-10 08:00:38.723522037 +0200
3@@ -1172,11 +1172,8 @@
4
5 assert(fi->h != NULL);
6 She->tag = psm->scriptTag;
7- if (!headerGet(fi->h, She, 0))
8- goto exit;
9-
10 Phe->tag = psm->progTag;
11- if (!headerGet(fi->h, Phe, 0))
12+ if (!headerGet(fi->h, She, 0) && !headerGet(fi->h, Phe, 0))
13 goto exit;
14
15 /* Coerce strings into header argv return. */
This page took 0.031015 seconds and 4 git commands to generate.