From b80932a8038d43a514ae5068a7fef675a76165a7 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 11 Mar 2006 19:56:56 +0000 Subject: [PATCH] 2006-03-11 19:56:56 by steve BUGFIX: Test the correct directory for the existance of the hook. --- xen-duplicate-image | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen-duplicate-image b/xen-duplicate-image index fd3fb3e..a6911b9 100755 --- a/xen-duplicate-image +++ b/xen-duplicate-image @@ -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.]+) / ) {