Преглед изворни кода

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

Guillem Jover пре 18 година
родитељ
комит
d788a140ef
2 измењених фајлова са 8 додато и 1 уклоњено
  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>
 
 	* 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")
     || &syserr(_g("write new entry to 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"));
+