add a 'g' to the sed line
authorMichael Schroeder <mls@suse.de>
Wed, 14 May 2014 15:07:28 +0000 (17:07 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 14 May 2014 15:07:28 +0000 (17:07 +0200)
tools/repo2solv.sh

index 215b1bc..11c6567 100755 (executable)
@@ -148,7 +148,7 @@ if test "$repotype" = rpmmd ; then
        repomd_decompress "$susedataxml"
      fi
      echo '</rpmmd>'
-    ) | sed 's/<?xml[^>]*>//' | sed '1i\<?xml version="1.0" encoding="UTF-8"?>' | rpmmd2solv $parser_options > $primfile || exit 4
+    ) | sed 's/<?xml[^>]*>//g' | sed '1i\<?xml version="1.0" encoding="UTF-8"?>' | rpmmd2solv $parser_options > $primfile || exit 4
   fi
 
   prodfile=