In den Pakfire nun auch das neuen Paketformat uebernommen.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@642 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-06-20 22:48:45 +00:00
parent 9c1c1c57ea
commit cde0e11690
21 changed files with 82 additions and 22 deletions

View File

@@ -35,15 +35,13 @@ for i in os.listdir(dir):
i = i.rstrip("\n")
if i.startswith("Name:"):
trash,name = i.split(": ")
elif i.startswith("Version:"):
elif i.startswith("ProgVersion:"):
trash,ver = i.split(": ")
elif i.startswith("Release:"):
trash,rel = i.split(": ")
elif i.startswith("Size:"):
trash,size = i.split(": ")
src.close()
dst.write(name+";"+ ver +";"+ rel +";"+ size +";\n")
dst.write(name+";"+ ver +";"+ rel +";\n")
dst.close()