Installer: Remove "/boot/var" directory check
The PM Haiku Installer doesn't need support installing ancient Haiku versions.
This commit is contained in:
@@ -507,11 +507,6 @@ CopyEngine::_ShouldCopyEntry(const BEntry& entry, const char* name,
|
|||||||
const struct stat& statInfo, int32 level) const
|
const struct stat& statInfo, int32 level) const
|
||||||
{
|
{
|
||||||
if (level == 1 && S_ISDIR(statInfo.st_mode)) {
|
if (level == 1 && S_ISDIR(statInfo.st_mode)) {
|
||||||
if (strcmp(kVarDirectoryPath, name) == 0) {
|
|
||||||
// old location of /boot/var
|
|
||||||
printf("ignoring '%s'.\n", name);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (strcmp(kPackagesDirectoryPath, name) == 0) {
|
if (strcmp(kPackagesDirectoryPath, name) == 0) {
|
||||||
printf("ignoring '%s'.\n", name);
|
printf("ignoring '%s'.\n", name);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -9,5 +9,4 @@
|
|||||||
|
|
||||||
const char* const kPackagesDirectoryPath = "_packages_";
|
const char* const kPackagesDirectoryPath = "_packages_";
|
||||||
const char* const kSourcesDirectoryPath = "_sources_";
|
const char* const kSourcesDirectoryPath = "_sources_";
|
||||||
const char* const kVarDirectoryPath = "var";
|
|
||||||
const char* const kSwapFilePath = "common/var/swap";
|
const char* const kSwapFilePath = "common/var/swap";
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
extern const char* const kPackagesDirectoryPath;
|
extern const char* const kPackagesDirectoryPath;
|
||||||
extern const char* const kSourcesDirectoryPath;
|
extern const char* const kSourcesDirectoryPath;
|
||||||
extern const char* const kVarDirectoryPath;
|
|
||||||
extern const char* const kSwapFilePath;
|
extern const char* const kSwapFilePath;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user