X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=cp-update;h=01bfe48e9a1619b12ce7787c94e162f38af282d3;hb=f65804c1b92f032afd4e09b7f01ea48de446ac6d;hp=00ad0d942d9baf32e760084fefdefa93eef85e62;hpb=794b05eb76c5fa0ae149bf69a35b8ead99b8fd30;p=carnet-tools-cn.git diff --git a/cp-update b/cp-update index 00ad0d9..01bfe48 100755 --- a/cp-update +++ b/cp-update @@ -35,7 +35,7 @@ sub DEBUG () { 0 }; # my ($ProgramName, $UsageLong, $UsageShort, $VERSION); -$VERSION = '2.0'; +$VERSION = '2.1'; # Looks nicer without the slashes and dots ($ProgramName = $0) =~ s!.*/!!; # strip dir @@ -492,6 +492,7 @@ sub actualize() { unlink($file_old) or warn "$ProgramName: Failed to remove file '$file_old' ($!)\n"; } + DEBUG and print STDERR "actualize: LinesCount=$LinesCount\n"; } # return content from standard input