From: dms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Sat, 23 Sep 2000 14:15:50 +0000 (+0000)
Subject: added check for dirs on startup
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=618f723b1608b0d93b7f026454d613bb8385a330;p=infobot.git

added check for dirs on startup


git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@135 c11ca15a-4712-0410-83d8-924469b57eb5
---

diff --git a/src/core.pl b/src/core.pl
index 42a1ca8..c710bc5 100644
--- a/src/core.pl
+++ b/src/core.pl
@@ -148,6 +148,11 @@ sub setup {
     &showProc(" (\&openLog before)");
     &openLog();		# write, append.
 
+    foreach ("debian","Temp") {
+	&status("Making dir $_");
+	mkdir "$bot_base_dir/$_/", 0755;
+    }
+
     # read.
     &loadIgnore($bot_misc_dir.		"/blootbot.ignore");
     &loadLang($bot_misc_dir.		"/blootbot.lang");