Просмотр исходного кода

dselect: Remove obsolete priorities support

dselect shows wrong package priorities in the package selection screen.
This is because the string representations arrays haven't been updated
to reflect the removal of the “Recommended” and “Contrib” priorities
in commit c8d3938be127e256fd593f234858fb9d474b2353.
Sven Joachim лет назад: 17
Родитель
Сommit
e2e412977a
2 измененных файлов с 2 добавлено и 4 удалено
  1. 2 0
      debian/changelog
  2. 0 4
      dselect/pkgdisplay.cc

+ 2 - 0
debian/changelog

@@ -2,6 +2,8 @@ dpkg (1.15.2) UNRELEASED; urgency=low
 
   * Fix FTBFS on GNU/Hurd due to a missmatched define usage in
     start-stop-daemon.
+  * Remove obsolete priorities support from dselect.
+    Thanks to Sven Joachim <svenjoac@gmx.de>.
 
  -- Guillem Jover <guillem@debian.org>  Thu, 21 May 2009 07:01:35 +0200
 

+ 0 - 4
dselect/pkgdisplay.cc

@@ -62,10 +62,8 @@ const char
   *const prioritystrings[]=  { N_("Required"),
 			       N_("Important"),
 			       N_("Standard"),
-			       N_("Recommended"),
 			       N_("Optional"),
 			       N_("Extra"),
-			       N_("Contrib"),
 			       N_("!Bug!"),
 			       N_("Unclassified"),
 			       0 },
@@ -84,10 +82,8 @@ const char
   *const priorityabbrevs[]=  { N_("Req"),
 			       N_("Imp"),
 			       N_("Std"),
-			       N_("Rec"),
 			       N_("Opt"),
 			       N_("Xtr"),
-			       N_("Ctb"),
 			       N_("bUG"),
 			       N_("?") };