Installer: Remove "/boot/var" directory check

The PM Haiku Installer doesn't need support installing ancient Haiku
versions.
This commit is contained in:
Ingo Weinhold
2013-06-02 14:43:02 +02:00
parent fb5f0bb1c7
commit a601eaa9e1
3 changed files with 0 additions and 7 deletions
-5
View File
@@ -507,11 +507,6 @@ CopyEngine::_ShouldCopyEntry(const BEntry& entry, const char* name,
const struct stat& statInfo, int32 level) const
{
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) {
printf("ignoring '%s'.\n", name);
return false;
-1
View File
@@ -9,5 +9,4 @@
const char* const kPackagesDirectoryPath = "_packages_";
const char* const kSourcesDirectoryPath = "_sources_";
const char* const kVarDirectoryPath = "var";
const char* const kSwapFilePath = "common/var/swap";
-1
View File
@@ -8,7 +8,6 @@
extern const char* const kPackagesDirectoryPath;
extern const char* const kSourcesDirectoryPath;
extern const char* const kVarDirectoryPath;
extern const char* const kSwapFilePath;