1
0
mirror of synced 2026-02-15 19:56:05 +00:00

2006-03-11 19:56:56 by steve

BUGFIX: Test the correct directory for the existance of the hook.
This commit is contained in:
steve
2006-03-11 19:56:56 +00:00
parent 0a605e7201
commit b80932a803

View File

@@ -122,7 +122,7 @@ Specify the LVM volume where images are to go
--
http://www.steve.org.uk/
$Id: xen-duplicate-image,v 1.26 2006-03-11 19:53:39 steve Exp $
$Id: xen-duplicate-image,v 1.27 2006-03-11 19:56:56 steve Exp $
=cut
@@ -314,10 +314,10 @@ setupNetworking( $dir );
#
# Finally setup Xen to allow us to create the image.
#
if ( -x "/etc/hook.d/95-create-cfg" )
if ( -x "/etc/xen-tools/hook.d/95-create-cfg" )
{
print "Setting up Xen configuration file .. ";
`/etc/hook.d/95-create-cfg`;
`/etc/xen-tools/hook.d/95-create-cfg`;
}
print "Done\n";
@@ -443,7 +443,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.26 $';
my $REVISION = '$Revision: 1.27 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{