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

Added 'unset GREP_OPTIONS' to apt-key.

Eugene V. Lyubimkin лет назад: 17
Родитель
Сommit
dac074b0ad
2 измененных файлов с 5 добавлено и 0 удалено
  1. 1 0
      cmdline/apt-key
  2. 4 0
      debian/changelog

+ 1 - 0
cmdline/apt-key

@@ -1,6 +1,7 @@
 #!/bin/sh
 
 set -e
+unset GREP_OPTIONS
 
 # We don't use a secret keyring, of course, but gpg panics and
 # implodes if there isn't one available

+ 4 - 0
debian/changelog

@@ -26,6 +26,10 @@ apt (0.7.17) unstable; urgency=low
     - Added with override of 'apt must depend on python'. Script 'apt-mark'
       needs apt-python for working and checks this on fly. We don't want
       python in most cases.
+  * cmdline/apt-key:
+    - Added 'unset GREP_OPTIONS' to the script. This prevents 'apt-key update'
+      failure when GREP_OPTIONS contains options that modify grep output.
+      (Closes: #428752)
 
  -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 24 Oct 2008 23:45:17 +0300