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

dpkg-trigger: On --help print the default admindir

Instead of the one passed on the command line.
Guillem Jover лет назад: 17
Родитель
Сommit
cdc1ff8459
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      debian/changelog
  2. 1 1
      src/trigcmd.c

+ 2 - 0
debian/changelog

@@ -13,6 +13,8 @@ dpkg (1.15.5) UNRELEASED; urgency=low
     finishing fatally.
   * Update md5 file paths in debian/copyright.
     Thanks to Jonathan Nieder <jrnieder@gmail.com>.
+  * On ‘dpkg-trigger --help’ print the default admindir instead of the one
+    passed on the command line.
 
   [ Raphaël Hertzog ]
   * Add versioned dependency on base-files (>= 5.0.0) to dpkg-dev to ensure

+ 1 - 1
src/trigcmd.c

@@ -111,7 +111,7 @@ usage(void)
 "                                     by dpkg).\n"
 "  --no-await                       No package needs to await the processing.\n"
 "  --no-act                         Just test - don't actually change anything.\n"
-"\n"), admindir);
+"\n"), ADMINDIR);
 
 	m_output(stdout, _("<standard output>"));
 }