lib/TWiki/Configure/Checkers/RCS/ExtOption.pm
author Colas Nahaboo <colas@nahaboo.net>
Mon, 11 Aug 2008 20:33:37 +0200
changeset 2 7bc60a767fa4
parent 0 414e01d06fd5
permissions -rw-r--r--
TWiki-4.2.2 Release
     1 #
     2 # TWiki Enterprise Collaboration Platform, http://TWiki.org/
     3 #
     4 # Copyright (C) 2000-2006 TWiki Contributors.
     5 #
     6 # This program is free software; you can redistribute it and/or
     7 # modify it under the terms of the GNU General Public License
     8 # as published by the Free Software Foundation; either version 2
     9 # of the License, or (at your option) any later version. For
    10 # more details read LICENSE in the root of this distribution.
    11 #
    12 # This program is distributed in the hope that it will be useful,
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    15 #
    16 # As per the GPL, removal of this notice is prohibited.
    17 package TWiki::Configure::Checkers::RCS::ExtOption;
    18 use base 'TWiki::Configure::Checker';
    19 
    20 use strict;
    21 
    22 sub check {
    23     my $this = shift;
    24 
    25     return if $TWiki::cfg{RCS}{ExtOption};
    26     $TWiki::cfg{RCS}{ExtOption} = "-x,v" if $TWiki::cfg{OS} eq 'WINDOWS';
    27 }
    28 
    29 1;