[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5390] trunk/Makefile.PL



Revision: 5390
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5390&view=rev
Author:   einhverfr
Date:     2012-12-22 06:10:55 +0000 (Sat, 22 Dec 2012)
Log Message:
-----------
Adding ledgersmg.conf file creation to Makefile.PL if it does not exist.

Modified Paths:
--------------
    trunk/Makefile.PL

Modified: trunk/Makefile.PL
===================================================================
--- trunk/Makefile.PL	2012-12-22 06:03:09 UTC (rev 5389)
+++ trunk/Makefile.PL	2012-12-22 06:10:55 UTC (rev 5390)
@@ -3,7 +3,10 @@
 use strict;
 use warnings;
 use inc::Module::Install 0.65;
+use File::Copy;
 
+copy ('ledgersmb.conf.default', 'ledgersmb.conf') unless -f 'ledgersmb.conf';
+
 name 'LedgerSMB';
 version_from 'LedgerSMB.pm';
 license 'GPL';

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.