Переименованы стандартные каталоги для данных (data->share, lib->var)
This commit is contained in:
parent
5dff256613
commit
4024029944
@ -1 +1 @@
|
|||||||
Subproject commit 1bff4d2a0d6b1e762c1dd8eae37e4426cf62086a
|
Subproject commit c6414bbc03c924379ceb7c7d7c914f4853e5d528
|
@ -1 +1 @@
|
|||||||
Subproject commit 3323b81fab518c600d8662243f1e503ae30a1f66
|
Subproject commit e11d85f13317dcf3652988026ce1ef4dcbe72c68
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
@ -91,9 +91,9 @@ MYXLIB_INLINE Paths::HierarchyType Paths::getHierarchyType()
|
|||||||
binaryDir.remove( binUnityRegexp );
|
binaryDir.remove( binUnityRegexp );
|
||||||
setupSystemDirectories( binaryDir,
|
setupSystemDirectories( binaryDir,
|
||||||
binaryDir + "/etc",
|
binaryDir + "/etc",
|
||||||
binaryDir + "/files/data",
|
binaryDir + "/share",
|
||||||
binaryDir + "/files/lib",
|
binaryDir + "/var",
|
||||||
binaryDir + "/files/log" );
|
binaryDir + "/log" );
|
||||||
|
|
||||||
return ( HierarchyType::kDevelopment );
|
return ( HierarchyType::kDevelopment );
|
||||||
}
|
}
|
||||||
@ -116,9 +116,9 @@ MYXLIB_INLINE Paths::HierarchyType Paths::getHierarchyType()
|
|||||||
binaryDir.remove( binRegexp );
|
binaryDir.remove( binRegexp );
|
||||||
setupSystemDirectories( binaryDir,
|
setupSystemDirectories( binaryDir,
|
||||||
binaryDir + "/etc",
|
binaryDir + "/etc",
|
||||||
binaryDir + "/files/data",
|
binaryDir + "/share",
|
||||||
binaryDir + "/files/lib",
|
binaryDir + "/var",
|
||||||
binaryDir + "/files/log" );
|
binaryDir + "/log" );
|
||||||
|
|
||||||
return ( HierarchyType::kOpt );
|
return ( HierarchyType::kOpt );
|
||||||
}
|
}
|
||||||
@ -128,7 +128,7 @@ MYXLIB_INLINE Paths::HierarchyType Paths::getHierarchyType()
|
|||||||
setupSystemDirectories( "/usr/local/rtis",
|
setupSystemDirectories( "/usr/local/rtis",
|
||||||
"/usr/local/rtis/etc/" + m_projectName,
|
"/usr/local/rtis/etc/" + m_projectName,
|
||||||
"/usr/local/rtis/share/" + m_projectName,
|
"/usr/local/rtis/share/" + m_projectName,
|
||||||
"/usr/local/rtis/lib/" + m_projectName,
|
"/usr/local/rtis/var/" + m_projectName,
|
||||||
"/usr/local/rtis/log/" + m_projectName );
|
"/usr/local/rtis/log/" + m_projectName );
|
||||||
|
|
||||||
return ( HierarchyType::kUsrLocalRtis );
|
return ( HierarchyType::kUsrLocalRtis );
|
||||||
@ -171,9 +171,9 @@ MYXLIB_INLINE Paths::HierarchyType Paths::getHierarchyType()
|
|||||||
binaryDir.remove( binRegexp );
|
binaryDir.remove( binRegexp );
|
||||||
setupSystemDirectories( binaryDir,
|
setupSystemDirectories( binaryDir,
|
||||||
binaryDir + "/etc",
|
binaryDir + "/etc",
|
||||||
binaryDir + "/files/data",
|
binaryDir + "/share",
|
||||||
binaryDir + "/files/lib",
|
binaryDir + "/var",
|
||||||
binaryDir + "/files/log" );
|
binaryDir + "/log" );
|
||||||
|
|
||||||
return ( HierarchyType::kDevelopment );
|
return ( HierarchyType::kDevelopment );
|
||||||
} // Paths::getHierarchyType
|
} // Paths::getHierarchyType
|
||||||
@ -197,8 +197,8 @@ MYXLIB_INLINE bool Paths::initCommon()
|
|||||||
dataHome = m_homeDirectory + "/.local/share";
|
dataHome = m_homeDirectory + "/.local/share";
|
||||||
}
|
}
|
||||||
dataHome += "/" + m_projectName;
|
dataHome += "/" + m_projectName;
|
||||||
m_userConstDataDirectory = dataHome + "/data";
|
m_userConstDataDirectory = dataHome + "/share";
|
||||||
m_userVarDataDirectory = dataHome + "/lib";
|
m_userVarDataDirectory = dataHome + "/var";
|
||||||
m_userLogDirectory = dataHome + "/log";
|
m_userLogDirectory = dataHome + "/log";
|
||||||
|
|
||||||
m_hierarchyType = getHierarchyType();
|
m_hierarchyType = getHierarchyType();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user