blob: c935a86f12cbc284c7bfa49ff598f3e218cef763 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Index: src/verlihub.cpp
===================================================================
RCS file: /cvsroot/verlihub/verlihub/src/verlihub.cpp,v
retrieving revision 1.14
diff -u -r1.14 verlihub.cpp
--- src/verlihub.cpp 24 Apr 2005 19:35:30 -0000 1.14
+++ src/verlihub.cpp 8 Dec 2006 21:08:11 -0000
@@ -25,6 +25,7 @@
#include <sstream>
#include <signal.h>
#include <dirent.h>
+#include <dirsettings.h>
#include "script_api.h"
using namespace std;
@@ -81,6 +82,8 @@
const char *DirName = NULL;
char *HomeDir = getenv("HOME");
string tmp;
+ DirName = PREFIXDIR "/etc/verlihub";
+ if ((DirName != NULL) && DirExists(DirName)) ConfigBase = DirName;
if (HomeDir)
{
tmp = HomeDir;
|