Explorar el Código

dpkg-distaddfile: Use _g() instead of wrong and typoed gettetx()

Guillem Jover hace 18 años
padre
commit
d788a140ef
Se han modificado 2 ficheros con 8 adiciones y 1 borrados
  1. 5 0
      ChangeLog
  2. 3 1
      scripts/dpkg-distaddfile.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-08-05  Guillem Jover  <guillem@debian.org>
+
+	* scripts/dpkg-distaddfile.pl: Use _g() instead of wrong and typoed
+	gettetx().
+
 2008-08-03  Guillem Jover  <guillem@debian.org>
 2008-08-03  Guillem Jover  <guillem@debian.org>
 
 
 	* src/processarc.c (process_archive): Use blankpackageperfile instead
 	* src/processarc.c (process_archive): Use blankpackageperfile instead

+ 3 - 1
scripts/dpkg-distaddfile.pl

@@ -72,4 +72,6 @@ if (open(X,"< $fileslistfile")) {
 print(Y "$file $section $priority\n")
 print(Y "$file $section $priority\n")
     || &syserr(_g("write new entry to new files list file"));
     || &syserr(_g("write new entry to new files list file"));
 close(Y) || &syserr(_g("close new files list file"));
 close(Y) || &syserr(_g("close new files list file"));
-rename("$fileslistfile.new",$fileslistfile) || &syserr(gettetx("install new files list file"));
+rename("$fileslistfile.new", $fileslistfile) ||
+    syserr(_g("install new files list file"));
+