... |
... |
@@ -66,12 +66,12 @@ sections = { |
66
|
66
|
'mail': {'desc': 'Mail', 'longdesc': 'Programs to route, read, and compose E-mail messages.'},
|
67
|
67
|
'math': {'desc': 'Mathematics', 'longdesc': 'Math software.'},
|
68
|
68
|
'metapackages': {'desc': 'Meta Packages', 'longdesc': 'Packages that mainly provide dependencies on other packages.'},
|
69
|
|
- 'misc': {'desc': 'Miscellaneous', 'longdesc': 'Miscellaneous utilities that didn\'t fit well anywhere else.'},
|
|
69
|
+ 'misc': {'desc': 'Miscellaneous', 'longdesc': 'Miscellaneous utilities that didn''t fit well anywhere else.'},
|
70
|
70
|
'net': {'desc': 'Network', 'longdesc': 'Daemons and clients to connect your system to the world.'},
|
71
|
71
|
'news': {'desc': 'Newsgroups', 'longdesc': 'Software to access Usenet, to set up news servers, etc.'},
|
72
|
72
|
'ocaml': {'desc': 'OCaml', 'longdesc': 'Everything about OCaml, an ML language implementation.'},
|
73
|
73
|
'oldlibs': {'desc': 'Old Libraries', 'longdesc': 'Old versions of libraries, kept for backward compatibility with old applications.'},
|
74
|
|
- 'otherosfs': {'desc': 'Other OS\'s and file systems', 'longdesc': 'Software to run programs compiled for other operating systems, and to use their filesystems.'},
|
|
74
|
+ 'otherosfs': {'desc': 'Other OS''s and file systems', 'longdesc': 'Software to run programs compiled for other operating systems, and to use their filesystems.'},
|
75
|
75
|
'perl': {'desc': 'Perl', 'longdesc': 'Everything about Perl, an interpreted scripting language.'},
|
76
|
76
|
'php': {'desc': 'PHP', 'longdesc': 'Everything about PHP.'},
|
77
|
77
|
'python': {'desc': 'Python', 'longdesc': 'Everything about Python, an interpreted, interactive object oriented language.'},
|
... |
... |
@@ -81,7 +81,7 @@ sections = { |
81
|
81
|
'science': {'desc': 'Science', 'longdesc': 'Basic tools for scientific work'},
|
82
|
82
|
'shells': {'desc': 'Shells', 'longdesc': 'Command shells. Friendly user interfaces for beginners.'},
|
83
|
83
|
'sound': {'desc': 'Sound', 'longdesc': 'Utilities to deal with sound: mixers, players, recorders, CD players, etc.'},
|
84
|
|
- 'tasks': {'desc': 'Tasks', 'longdesc': 'Packages that are used by \'tasksel\', a simple interface for users who want to configure their system to perform a specific task.'},
|
|
84
|
+ 'tasks': {'desc': 'Tasks', 'longdesc': 'Packages that are used by ''tasksel'', a simple interface for users who want to configure their system to perform a specific task.'},
|
85
|
85
|
'tex': {'desc': 'TeX', 'longdesc': 'The famous typesetting software and related programs.'},
|
86
|
86
|
'text': {'desc': 'Text Processing', 'longdesc': 'Utilities to format and print text documents.'},
|
87
|
87
|
'utils': {'desc': 'Utilities', 'longdesc': 'Utilities for file/disk manipulation, backup and archive tools, system monitoring, input systems, etc.'},
|
... |
... |
@@ -109,9 +109,9 @@ def do_update(self): |
109
|
109
|
""")
|
110
|
110
|
|
111
|
111
|
for section in sections:
|
112
|
|
- c.execute("UPDATE section (description, longdesc) VALUES ('{1}', '{2}') WHERE section='{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
113
|
|
- c.execute("UPDATE section (description, longdesc) VALUES ('{1}', '{2}') WHERE section='contrib/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
114
|
|
- c.execute("UPDATE section (description, longdesc) VALUES ('{1}', '{2}') WHERE section='non-free/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
|
112
|
+ c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
|
113
|
+ c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='contrib/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
|
114
|
+ c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='non-free{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
115
|
115
|
|
116
|
116
|
c.execute("UPDATE config SET value = '124' WHERE name = 'db_revision'")
|
117
|
117
|
self.db.commit()
|