diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-03-23 18:46:10 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-03-23 18:46:10 +0100 |
| commit | e63e9a9431c22c765213eda4a5198c5d7d0ad9ef (patch) | |
| tree | 493360093bbeb2564ede9f7a22882c3c6a05c031 /SoftwareProperties | |
| parent | 95e028c4268ce0b51933d96f0d5a44acc30a6afa (diff) | |
| download | python-apt-e63e9a9431c22c765213eda4a5198c5d7d0ad9ef.tar.gz | |
* added templates for the backports
* fixed a bug of a previous commit
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/aptsources.py | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py index 4252c10c..77de510b 100644 --- a/SoftwareProperties/aptsources.py +++ b/SoftwareProperties/aptsources.py @@ -338,22 +338,23 @@ class SourceEntryMatcher: # CDs self.dist_list.append(self.MatchDist("cdrom:\[Ubuntu.*6.06", ".*", - _("CD disk with Ubuntu 6.06 'Dapper "\ - "Drake'"), + _("CD disk with Ubuntu 6.06 'Dapper "\ + "Drake'"), + ubuntu_comps, ubuntu_comps_descr)) self.dist_list.append(self.MatchDist("cdrom:\[Ubuntu.*5.10", ".*", - _("CD disk with Ubuntu 5.10 'Breezy "\ - "Badger'"), + _("CD disk with Ubuntu 5.10 'Breezy "\ + "Badger'"), ubuntu_comps, ubuntu_comps_descr)) self.dist_list.append(self.MatchDist("cdrom:\[Ubuntu.*5.04", ".*", - _("CD disk with Ubuntu 5.04 "\ - "'Hoary Hedgehog'"), + _("CD disk with Ubuntu 5.04 'Hoary "\ + "Hedgehog'"), ubuntu_comps, ubuntu_comps_descr)) self.dist_list.append(self.MatchDist("cdrom:\[Ubuntu.*4.10", ".*", - _("CD disk with Ubuntu 4.10 "\ - "'Warty Warthog'"), + _("CD disk with Ubuntu 4.10 "\ + "'Warty Warthog'"), ubuntu_comps, ubuntu_comps_descr)) # URIs # Warty @@ -373,6 +374,10 @@ class SourceEntryMatcher: "^warty-updates$", _("Ubuntu 4.10 Updates"), ubuntu_comps, ubuntu_comps_descr)) + self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", + "^warty-backports$", + _("Ubuntu 4.10 Backports"), + ubuntu_comps, ubuntu_comps_descr)) # Hoary self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", "^hoary-security$", @@ -390,6 +395,10 @@ class SourceEntryMatcher: "^hoary-updates$", _("Ubuntu 5.04 Updates"), ubuntu_comps, ubuntu_comps_descr)) + self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", + "^hoary-backports$", + _("Ubuntu 5.04 Backports"), + ubuntu_comps, ubuntu_comps_descr)) # Breezy self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", "^breezy-security$", @@ -404,6 +413,10 @@ class SourceEntryMatcher: "Ubuntu 5.10 'Breezy Badger'", ubuntu_comps, ubuntu_comps_descr)) self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", + "^breezy-backports$", + _("Ubuntu 5.10 Backports"), + ubuntu_comps, ubuntu_comps_descr)) + self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", "^breezy-updates$", _("Ubuntu 5.10 Updates"), ubuntu_comps, ubuntu_comps_descr)) @@ -421,6 +434,10 @@ class SourceEntryMatcher: "Ubuntu 6.06 'Dapper Drake'", ubuntu_comps, ubuntu_comps_descr)) self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", + "^dapper-backports$", + _("Ubuntu 6.06 Backports"), + ubuntu_comps, ubuntu_comps_descr)) + self.dist_list.append(self.MatchDist(".*archive.ubuntu.com/ubuntu", "^dapper-updates$", _("Ubuntu 6.06 Updates"), ubuntu_comps, ubuntu_comps_descr)) |
