summaryrefslogtreecommitdiff
path: root/setup_native/scripts
diff options
context:
space:
mode:
authorIngo Schmidt <is@openoffice.org>2010-07-13 18:57:19 +0200
committerIngo Schmidt <is@openoffice.org>2010-07-13 18:57:19 +0200
commitecde3e0e683f5969e8a770c0ec0634459b257778 (patch)
tree8480be53651754d294b53739c3aec6bbc4031a5d /setup_native/scripts
parentf51ed65827e68e8bd549cfedf1d499d3dc226065 (diff)
jl154 #162868# unopkg is back in packaging and installation
Diffstat (limited to 'setup_native/scripts')
-rw-r--r--setup_native/scripts/admin.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup_native/scripts/admin.pl b/setup_native/scripts/admin.pl
index 49b36fbe2f2d..2e16c7c89c5b 100644
--- a/setup_native/scripts/admin.pl
+++ b/setup_native/scripts/admin.pl
@@ -1094,6 +1094,13 @@ sub register_extensions_sync
{
my ($unopkgfile, $localtemppath) = @_;
+ if ( $bundleddir eq "" )
+ {
+ my $logtext = "ERROR: Failed to determine directory \"bundled\" in \"presets\" folder for extension registration! Please check your installation set.";
+ print $logtext . "\n";
+ exit_program($logtext);
+ }
+
my $from = cwd();
my $path = $unopkgfile;