diff options
author | Ingo Schmidt <is@openoffice.org> | 2010-07-28 17:03:11 +0200 |
---|---|---|
committer | Ingo Schmidt <is@openoffice.org> | 2010-07-28 17:03:11 +0200 |
commit | ed6c3b782dab52934568a00974a5d1045a9d3e98 (patch) | |
tree | 81c3023fffd216df1a4fe0d2e0aebd8021fac825 /solenv | |
parent | 1745fd6f2bb0f1501df821725d5f4d95bde7b5e5 (diff) |
jl154 #162868# no registration of extensions in products without unopkg file
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/simplepackage.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index 6b168febf6f1..518edc683c3d 100644 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -111,6 +111,13 @@ sub register_extensions push( @installer::globals::logfileinfo, $infoline); } + if ( ! -f $unopkgfile ) + { + $unopkgexists = 0; + $infoline = "Info: File $unopkgfile does not exist! Extensions cannot be registered.\n"; + push( @installer::globals::logfileinfo, $infoline); + } + if ( $unopkgexists ) { my $currentdir = cwd(); |