summaryrefslogtreecommitdiff
path: root/SL2LS.pl
diff options
context:
space:
mode:
Diffstat (limited to 'SL2LS.pl')
-rwxr-xr-xSL2LS.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/SL2LS.pl b/SL2LS.pl
index 50b1e098..e5ffddcb 100755
--- a/SL2LS.pl
+++ b/SL2LS.pl
@@ -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;