- add missing ifdef
authorMichael Schroeder <mls@suse.de>
Thu, 9 Jul 2009 10:41:42 +0000 (12:41 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 9 Jul 2009 10:41:42 +0000 (12:41 +0200)
examples/solv.c

index aa5918f..1640bcf 100644 (file)
@@ -191,8 +191,10 @@ read_repoinfos(Pool *pool, const char *reposdir, int *nrepoinfosp)
            kp++;
          if (!*kp || *kp == '#')
            continue;
+#ifdef FEDORA
          if (strchr(kp, '$'))
            kp = yum_substitute(pool, kp);
+#endif
          if (*kp == '[')
            {
              vp = strrchr(kp, ']');