]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- fixed a braino
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 12 Sep 2004 18:12:52 +0000 (18:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-distver.patch -> 1.3

poldek-distver.patch

index c3311bfb5a28d562a0e1a922fd6680c2de113e8f..c96a09d83a519a92b7a127ee28a2ac4d52e6fb9d 100644 (file)
      int        type;
      
      headerNVR(h, (void*)&name, (void*)&version, (void*)&release);
-@@ -267,6 +281,14 @@
+@@ -267,6 +281,13 @@
      if (type != RPM_STRING_TYPE)
          arch = NULL;
      
 +    if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, (void *)&dist, NULL)) {
-+        logn(LOGERR, _("%s: read distribution tag failed"), fname);
-+        return NULL;
++        dist = NULL;
 +    }
 +
 +    if (type != RPM_STRING_TYPE)
This page took 0.351878 seconds and 4 git commands to generate.