Merge branch 'lib-vs-share'
This commit is contained in:
@@ -1441,9 +1441,9 @@ sub checkOption
|
||||
message => "takes a suffixed (mb, MB, G, k, etc.) integer.\n",
|
||||
},
|
||||
distribution => {
|
||||
check => sub { -d "/usr/lib/xen-tools/$_[0].d" },
|
||||
check => sub { -d "/usr/share/xen-tools/$_[0].d" },
|
||||
message => "takes a distribution name " .
|
||||
"(see /usr/lib/xen-tools for valid values).\n",
|
||||
"(see /usr/share/xen-tools for valid values).\n",
|
||||
},
|
||||
imageType => {
|
||||
check => qr/^sparse|full$/,
|
||||
|
||||
@@ -54,7 +54,7 @@ xt-customize-image - Customize a freshly installed copy of GNU/Linux
|
||||
the --location option.
|
||||
|
||||
For the distribution named 'foo' the scripts will be loaded and
|
||||
executed from '/usr/lib/xen-tools/foo.d'. Each executable will
|
||||
executed from '/usr/share/xen-tools/foo.d'. Each executable will
|
||||
be loaded and executed in sorted order.
|
||||
|
||||
=cut
|
||||
@@ -215,7 +215,7 @@ sub checkArguments
|
||||
# If there are no scripts then we clearly cannot
|
||||
# customise it!
|
||||
#
|
||||
my $dir = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d";
|
||||
my $dir = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d";
|
||||
|
||||
if ( !-d $dir )
|
||||
{
|
||||
@@ -257,7 +257,7 @@ sub runDistributionHooks
|
||||
#
|
||||
# Hook directory.
|
||||
#
|
||||
my $hooks = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d/";
|
||||
my $hooks = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d/";
|
||||
|
||||
#
|
||||
# Installation prefix
|
||||
|
||||
@@ -415,7 +415,7 @@ sub checkArguments
|
||||
# If there are no scripts then we clearly cannot
|
||||
# customise it!
|
||||
#
|
||||
my $dir = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d";
|
||||
my $dir = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d";
|
||||
|
||||
if ( !-d $dir )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user