+carnet-tools-cn (2.1-1) testing; urgency=low
+
+ * cp-update: Ispravka uvjeta za upozorenje kod implicitnog
+ pozicioniranja ubacenog bloka na kraj datoteke
+
+ -- Damir Dzeko <ddzeko@srce.hr> Tue, 05 Apr 2005 11:24:20 +0200
+
carnet-tools-cn (2.1) testing; urgency=low
* novi cp-update i man-stranice: cp-update(1), carnet-tools(7)
}
++ $lineNo;
}
- if (! $added) {
- warn "$ProgramName: Inserting lines at the end implicitly!\n";
+ if ($MatchLine and ! $added) {
+ warn "$ProgramName: Inserting lines at the end implicitly! No '$MatchLine'\n";
push(@Lines, $StdinContent);
}
}
+++ /dev/null
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-
-<apache>
- mohican = the last
-</apache>
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n
-# Begin update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-Block inserted by test1
-# End update by CARNet package test1 -- DO NOT DELETE THIS LINE!
+++ /dev/null
-# Begin update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-Block inserted by test2
-# End update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-
-<apache>
- mohican = the last
-</apache>
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n
-# Begin update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-Block inserted by test1
-# End update by CARNet package test1 -- DO NOT DELETE THIS LINE!
+++ /dev/null
-# Begin update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-Block inserted by test2
-# End update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-
-<apache>
- mohican = the last
-</apache>
-# Begin update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-Block inserted by test3
-# End update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n
-# Begin update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-Block inserted by test1
-# End update by CARNet package test1 -- DO NOT DELETE THIS LINE!
+++ /dev/null
-# Begin update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-Block inserted by test2
-# End update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-
-<apache>
- mohican = the last
-</apache>
-# Begin update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-Block inserted by test3
-# End update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n
-# Begin update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-Block inserted by test1
-# End update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-# Begin update by CARNet package test4 -- DO NOT DELETE THIS LINE!
-Block inserted by test4
-# End update by CARNet package test4 -- DO NOT DELETE THIS LINE!
+++ /dev/null
-# Begin update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-Block inserted by test2
-# End update by CARNet package test2 -- DO NOT DELETE THIS LINE!
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-; Begin update by CARNet package test5 -- DO NOT DELETE THIS LINE!
-test line 1 by test5
-test line 2 by test5
-test line 3 by test5
-test line 4 by test5
-test line 5 by test5
-; End update by CARNet package test5 -- DO NOT DELETE THIS LINE!
-
-<apache>
- mohican = the last
-</apache>
-# Begin update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-Block inserted by test3
-# End update by CARNet package test3 -- DO NOT DELETE THIS LINE!
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n
-# Begin update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-Block inserted by test1
-# End update by CARNet package test1 -- DO NOT DELETE THIS LINE!
-# Begin update by CARNet package test4 -- DO NOT DELETE THIS LINE!
-Block inserted by test4
-# End update by CARNet package test4 -- DO NOT DELETE THIS LINE!
+++ /dev/null
-This is the top of the test file for cp-update maintenance team
-so they can check is everything ok with the script. Empty line:
-
-# Here we have a piece that looks like a comment
-; following line says that you should not delete it:
- -- DO NOT DELETE THIS LINE!
-
-[samba]
- brasil = de Janeiro
-
-<apache>
- mohican = the last
-</apache>
-
-options {
- something +more;
-}
-
-# update this
-
-# Begin update by CARNet package broken
-this is for compatibility with older version which did not add
- -- DO NOT DELETE THIS LINE!
-string after the package name
-# End update by CARNet package broken
-
-# Begin update by CARNet package broken2
-
-It's the end of the file and guess what? This line does not end with \n