Fix a problem in the setup utility in which the user would be prompted about
whether they wanted to create the base entry even if they said that they wanted
to import from LDIF (presumably the LDIF being imported will contain the base
entry).
OpenDS Issue Number: 599
| | |
| | | { |
| | | addBase = true; |
| | | |
| | | if (importLDIF.isPresent()) |
| | | if ((ldifFiles != null) && (! ldifFiles.isEmpty())) |
| | | { |
| | | int msgID = MSGID_INSTALLDS_TWO_CONFLICTING_ARGUMENTS; |
| | | String message = getMessage(msgID, addBaseEntry.getLongIdentifier(), |
| | |
| | | return 1; |
| | | } |
| | | } |
| | | else if (silentInstall.isPresent() || importLDIF.isPresent()) |
| | | else if (silentInstall.isPresent() || |
| | | ((ldifFiles != null) && (! ldifFiles.isEmpty()))) |
| | | { |
| | | addBase = false; |
| | | } |