Skip to content

Commit

Permalink
Item13062: Extension installation issues
Browse files Browse the repository at this point in the history
 - Set the repository and root options correctly
 - Use Foswiki::Configure::Root is missing

Note that it still doesn't work.  Many errors when the shell installer
attempts to update the configuration.
  • Loading branch information
gac410 committed Nov 2, 2014
1 parent fff12e5 commit a306089
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/Configure/Package.pm
Expand Up @@ -44,6 +44,7 @@ use File::stat;
use Assert;
use Foswiki::Configure::Dependency ();
use Foswiki::Configure::FileUtil ();
use Foswiki::Configure::Root ();
use Foswiki::Plugins ();

############# GENERIC METHODS #############
Expand Down
12 changes: 6 additions & 6 deletions core/tools/extender.pl
Expand Up @@ -238,12 +238,12 @@ sub _loadInstaller {
) if ($reuseOK);

$thispkg = Foswiki::Configure::Package->new(
"$installationRoot/",
$repository,
module => $MODULE,
USELOCAL => $reuseOK,
SIMULATE => $simulate,
DIR => $installationRoot
root => "$installationRoot/",
repository => $repository,
module => $MODULE,
USELOCAL => $reuseOK,
SIMULATE => $simulate,
DIR => $installationRoot
);

# Use local package, don't download, as we were invoked from it.
Expand Down

0 comments on commit a306089

Please sign in to comment.