Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9210e442
Kaydet (Commit)
9210e442
authored
Eyl 28, 2010
tarafından
Vladimir Glazunov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#i10000# changes from OOO330 m9
üst
05e17862
b6b8f0c4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
13 deletions
+33
-13
InstallData.java
...ller2/src/JavaSetup/org/openoffice/setup/InstallData.java
+9
-0
LinuxInstaller.java
...aSetup/org/openoffice/setup/Installer/LinuxInstaller.java
+0
-0
LinuxHelper.java
...tup/org/openoffice/setup/InstallerHelper/LinuxHelper.java
+24
-12
admin.pl
setup_native/scripts/admin.pl
+0
-1
No files found.
javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
Dosyayı görüntüle @
9210e442
...
...
@@ -76,6 +76,7 @@ public class InstallData
static
private
boolean
useRtl
=
false
;
static
private
boolean
installedProductMinorSet
=
false
;
static
private
boolean
isDebianSystem
=
false
;
static
private
boolean
useForceDebian
=
false
;
/* --force-debian */
static
private
boolean
debianInvestigated
=
false
;
static
private
String
installType
;
/* custom or typical installation */
static
private
String
osType
;
/* Linux, SunOS, ... */
...
...
@@ -667,6 +668,14 @@ public class InstallData
isDebianSystem
=
value
;
}
public
boolean
useForceDebian
()
{
return
useForceDebian
;
}
public
void
setUseForceDebian
(
boolean
value
)
{
useForceDebian
=
value
;
}
public
boolean
databaseQueried
()
{
return
databaseQueried
;
}
...
...
javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
Dosyayı görüntüle @
9210e442
This diff is collapsed.
Click to expand it.
javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/LinuxHelper.java
Dosyayı görüntüle @
9210e442
...
...
@@ -383,21 +383,33 @@ import java.util.Vector;public class LinuxHelper {
public
void
investigateDebian
(
InstallData
data
)
{
// String rpmQuery = "rpm --help;
String
[]
rpmQueryArray
=
new
String
[
2
];
rpmQueryArray
[
0
]
=
"rpm"
;
rpmQueryArray
[
1
]
=
"--help"
;
// First check: Is this a Debian system?
Vector
returnVector
=
new
Vector
();
Vector
returnErrorVector
=
new
Vector
();
int
returnValue
=
ExecuteProcess
.
executeProcessReturnVector
(
rpmQueryArray
,
returnVector
,
returnErrorVector
);
String
dpkgFile
=
"/usr/bin/dpkg"
;
// Checking if the return vector contains the string "force-debian"
if
(
new
File
(
dpkgFile
).
exists
()
)
{
for
(
int
i
=
0
;
i
<
returnVector
.
size
();
i
++)
{
String
line
=
(
String
)
returnVector
.
get
(
i
);
if
(
line
.
indexOf
(
"force-debian"
)
>
-
1
)
{
data
.
setIsDebianSystem
(
true
);
data
.
setIsDebianSystem
(
true
);
// Second check: If this is a Debian system, is "--force-debian" required? Older
// versions do not support "--force-debian".
// String rpmQuery = "rpm --help;
String
[]
rpmQueryArray
=
new
String
[
2
];
rpmQueryArray
[
0
]
=
"rpm"
;
rpmQueryArray
[
1
]
=
"--help"
;
Vector
returnVector
=
new
Vector
();
Vector
returnErrorVector
=
new
Vector
();
int
returnValue
=
ExecuteProcess
.
executeProcessReturnVector
(
rpmQueryArray
,
returnVector
,
returnErrorVector
);
// Checking if the return vector contains the string "force-debian"
for
(
int
i
=
0
;
i
<
returnVector
.
size
();
i
++)
{
String
line
=
(
String
)
returnVector
.
get
(
i
);
if
(
line
.
indexOf
(
"force-debian"
)
>
-
1
)
{
data
.
setUseForceDebian
(
true
);
}
}
}
}
...
...
setup_native/scripts/admin.pl
Dosyayı görüntüle @
9210e442
...
...
@@ -66,7 +66,6 @@ sub usage
{
print
<<Ende;
----------------------------------------------------------------------
$prog V1.0 (c) Sun Microsystems 2009
This program installs a Windows Installer installation set
without using msiexec.exe. The installation is comparable
with an administrative installation using the Windows Installer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment