[Fai-commit] r5798 - branches/experimental/patches

Michael Tautschnig mt at alioth.debian.org
Fri Jun 4 18:19:37 UTC 2010


Author: mt
Date: 2010-06-04 18:19:11 +0000 (Fri, 04 Jun 2010)
New Revision: 5798

Added:
   branches/experimental/patches/ainsl_man-page-return-codes
   branches/experimental/patches/typo_install-packages
Modified:
   branches/experimental/patches/series
Log:
added patches from mailinglist posts (ainsl man page, install_packages typo)


Added: branches/experimental/patches/ainsl_man-page-return-codes
===================================================================
--- branches/experimental/patches/ainsl_man-page-return-codes	                        (rev 0)
+++ branches/experimental/patches/ainsl_man-page-return-codes	2010-06-04 18:19:11 UTC (rev 5798)
@@ -0,0 +1,35 @@
+2010-06-04  Michael Tautschnig  <mt at debian.org>
+
+	* ainsl.1: Document ainsl exit codes (thanks Rob <rclemley at booksys.com>)
+Index: trunk/man/ainsl.1
+===================================================================
+--- trunk.orig/man/ainsl.1
++++ trunk/man/ainsl.1	
+@@ -28,6 +28,9 @@
+ are used for matching, not when adding the line. Additionaly,
+ the following characters are escaped in LINE: ( ) +
+ 
++The exit code returned by ainsl is 0 on success and non-zero
++on error.  See the section EXIT CODES.
++
+ .SH OPTIONS
+ .TP
+ .B \-a
+@@ -64,6 +67,17 @@
+ 
+ Add exports entry without exactly matching spaces.
+ 
++.SH EXIT CODES
++.TP
++.B 0
++Success: Either FILE contains the LINE/PATTERN or LINE was appended to FILE.
++.TP
++.B 2
++FILE does not exist and the autocreate option (-a) is not present.
++.TP
++.B 13
++FILE cannot be opened for writing and LINE/PATTERN was not found in file.
++
+ .SH NOTES
+ This is a similar function to AppendIfNoSuchLine from cfengine(8).
+ .SH SEE ALSO

Modified: branches/experimental/patches/series
===================================================================
--- branches/experimental/patches/series	2010-06-01 20:21:40 UTC (rev 5797)
+++ branches/experimental/patches/series	2010-06-04 18:19:11 UTC (rev 5798)
@@ -20,3 +20,5 @@
 setup-storage_external-journal
 setup-storage_cciss-bugfix
 fai-chboot_mac-address
+typo_install-packages
+ainsl_man-page-return-codes

Added: branches/experimental/patches/typo_install-packages
===================================================================
--- branches/experimental/patches/typo_install-packages	                        (rev 0)
+++ branches/experimental/patches/typo_install-packages	2010-06-04 18:19:11 UTC (rev 5798)
@@ -0,0 +1,17 @@
+2010-06-04  Michael Tautschnig  <mt at debian.org>
+
+	* install_packages: Fix typo in info message (thanks Adrian Glaubitz
+		<glaubitz at physik.fu-berlin.de>)
+Index: trunk/bin/install_packages
+===================================================================
+--- trunk.orig/bin/install_packages
++++ trunk/bin/install_packages	
+@@ -112,7 +112,7 @@
+ $verbose=$ENV{verbose} || $opt_v;
+ $opt_d && setdownloadonly();
+ $maxpl=$ENV{MAXPACKAGES} || $opt_m ;
+-$maxpl && $verbose && warn "Maxmimum number of packages installed at a time set to $maxpl\n";
++$maxpl && $verbose && warn "Maximum number of packages installed at a time set to $maxpl\n";
+ $maxpl or $maxpl = 99 ; # set default value
+ 
+ my $qopt="-qq" unless $verbose;




More information about the Fai-commit mailing list