[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [41] trunk/SL2LS.pl
- Subject: SF.net SVN: ledger-smb: [41] trunk/SL2LS.pl
- From: ..hidden..
- Date: Thu, 07 Sep 2006 17:36:14 -0700
Revision: 41
http://svn.sourceforge.net/ledger-smb/?rev=41&view=rev
Author: einhverfr
Date: 2006-09-07 17:36:13 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Prevented SL2LS.pl from clobbering ledger-smb as in bug 1554246
Modified Paths:
--------------
trunk/SL2LS.pl
Modified: trunk/SL2LS.pl
===================================================================
--- trunk/SL2LS.pl 2006-09-06 17:54:38 UTC (rev 40)
+++ trunk/SL2LS.pl 2006-09-08 00:36:13 UTC (rev 41)
@@ -3,8 +3,12 @@
# Simple script. Right now, all that needs to be done is that the SL directory
# needs to be deleted and the sql-ledger.conf needs to be renamed.
-open (SL, "< sql-ledger.conf");
-open (LS, "> ledger-smb.conf");
+$filedie = "To install manually:
+rename the sql-ledger.conf to ledger-smb.conf
+Delete the SL directory (optional but HIGHLY recommended)\n";
+open (SL, "< sql-ledger.conf") || die (
+open (LS, "> ledger-smb.conf") || die {
+"Could not open ledger-smb.conf: $! \n $filedie");
while ($line = <SL>){
print LS $line;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.