lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2817a1b 07/11: Make sure data directory exist


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2817a1b 07/11: Make sure data directory exists before writing to it
Date: Wed, 8 May 2019 13:23:25 -0400 (EDT)

branch: master
commit 2817a1b61a8490738aef5af52d5c36f9ccf50a7b
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Make sure data directory exists before writing to it
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2019-05/msg00017.html
---
 install_msw.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/install_msw.sh b/install_msw.sh
index 5463f67..0bf41f5 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -227,7 +227,9 @@ do
     fi
 done
 
-# To regenerate authentication files:
+mkdir --parents /opt/lmi/data
+
+# To regenerate authentication files for production distributions:
 # cd /opt/lmi/data
 # printf '2450449 2472011'             >expiry
 # printf '%s\n' "$(md5sum expiry)"     >validated.md5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]