Kaydet (Commit) df0e1b8f authored tarafından Ingo Schmidt's avatar Ingo Schmidt

native330 #i114487# fixing installation on Cent OS

üst 73971533
...@@ -76,7 +76,7 @@ public class InstallData ...@@ -76,7 +76,7 @@ public class InstallData
static private boolean useRtl = false; static private boolean useRtl = false;
static private boolean installedProductMinorSet = false; static private boolean installedProductMinorSet = false;
static private boolean isDebianSystem = false; static private boolean isDebianSystem = false;
static private boolean useForceDebian = false; static private boolean useForceDebian = false; /* --force-debian */
static private boolean debianInvestigated = false; static private boolean debianInvestigated = false;
static private String installType; /* custom or typical installation */ static private String installType; /* custom or typical installation */
static private String osType; /* Linux, SunOS, ... */ static private String osType; /* Linux, SunOS, ... */
......
...@@ -227,7 +227,7 @@ public class LinuxInstaller extends Installer { ...@@ -227,7 +227,7 @@ public class LinuxInstaller extends Installer {
} }
// Defining a Vector that contains the full rpm command. Then the string array can be // Defining a Vector that contains the full rpm command. Then the string array can be
// created dynamically. // created dynamically. Otherwise there would be too many different scenarios.
Vector rpmVector = new Vector(); Vector rpmVector = new Vector();
...@@ -361,7 +361,7 @@ public class LinuxInstaller extends Installer { ...@@ -361,7 +361,7 @@ public class LinuxInstaller extends Installer {
} }
// Defining a Vector that contains the full rpm command. Then the string array can be // Defining a Vector that contains the full rpm command. Then the string array can be
// created dynamically. // created dynamically. Otherwise there would be too many different scenarios.
Vector rpmVector = new Vector(); Vector rpmVector = new Vector();
......
...@@ -391,7 +391,8 @@ import java.util.Vector;public class LinuxHelper { ...@@ -391,7 +391,8 @@ import java.util.Vector;public class LinuxHelper {
data.setIsDebianSystem(true); data.setIsDebianSystem(true);
// Second check: If this is a Debian system, is "--force-debian" required? // Second check: If this is a Debian system, is "--force-debian" required? Older
// versions do not support "--force-debian".
// String rpmQuery = "rpm --help; // String rpmQuery = "rpm --help;
String[] rpmQueryArray = new String[2]; String[] rpmQueryArray = new String[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment