summaryrefslogtreecommitdiff
path: root/SL2LS.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-02 06:14:40 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-02 06:14:40 +0000
commitaff2191c2c31501c72a89aabd2fd6cb2eb3ce8aa (patch)
treec41a902d627ee02ea14065ffe6e9126a7cf7ba4a /SL2LS.pl
parentcf607d93557a99ac40de7a530946e3b9ed8c1bd9 (diff)
Removed CONTRIBUTORS lines in the various files, moved any contributors to the
CONTRIBUTORS file. Added TODO, CONTRIBUTORS, and the upgrade/cross-grade SL2LS.pl (incomplete). git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@16 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'SL2LS.pl')
-rwxr-xr-xSL2LS.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/SL2LS.pl b/SL2LS.pl
new file mode 100755
index 00000000..4824d2c6
--- /dev/null
+++ b/SL2LS.pl
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+
+# 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");
+
+while ($line = <SL>){
+ print LS $line;
+}
+
+unlink sql-ledger.conf;
+
+#TODO: Move/Delete the SL directory