File ambercoin-util.patch of Package ambercoin

--- src/util.cpp	2015-02-14 16:15:13.000000000 +0100
+++ util.cpp	2015-02-14 16:23:22.578783369 +0100
@@ -1030,7 +1030,7 @@
     return pathRet / "AmberCoin";
 #else
     // Unix
-    return pathRet / ".AmberCoin";
+    return pathRet / ".ambercoin";
 #endif
 #endif
 }
@@ -1072,7 +1072,7 @@
 
 boost::filesystem::path GetConfigFile()
 {
-    boost::filesystem::path pathConfigFile(GetArg("-conf", "AmberCoin.conf"));
+    boost::filesystem::path pathConfigFile(GetArg("-conf", "ambercoin.conf"));
     if (!pathConfigFile.is_complete()) pathConfigFile = GetDataDir(false) / pathConfigFile;
     return pathConfigFile;
 }
@@ -1103,7 +1103,7 @@
 
 boost::filesystem::path GetPidFile()
 {
-    boost::filesystem::path pathPidFile(GetArg("-pid", "AmberCoind.pid"));
+    boost::filesystem::path pathPidFile(GetArg("-pid", "ambercoind.pid"));
     if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
     return pathPidFile;
 }
openSUSE Build Service is sponsored by