From a5aa1d47f1d50cc6fd02c3a2c992f5a943d02a44 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 4 Nov 2008 04:58:03 -0500 Subject: [PATCH] Correct the transformation script for lvm.conf svn path=/trunk/packages/invirt-cluster-config/; revision=1532 --- debian/changelog | 3 ++- debian/transform_lvm.conf.invirt | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 135a1d3..e559e4c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ invirt-cluster-config (0.0.2) unstable; urgency=low * Be sure to start clvm as well as cman + * Correct the transformation script for lvm.conf - -- Evan Broder Tue, 04 Nov 2008 04:27:53 -0500 + -- Evan Broder Tue, 04 Nov 2008 04:39:45 -0500 invirt-cluster-config (0.0.1) unstable; urgency=low diff --git a/debian/transform_lvm.conf.invirt b/debian/transform_lvm.conf.invirt index faa7592..33f9214 100755 --- a/debian/transform_lvm.conf.invirt +++ b/debian/transform_lvm.conf.invirt @@ -1,6 +1,6 @@ #!/usr/bin/perl -0p -s/^( *locking_type = )1.*$/$1 = 2/m or die; -s/^( *fallback_to_clustered_locking = ).*$/$1 = 0/m or die; -s/^( *fallback_to_local_locking = ).*$/$1 = 0/m or die; +s/^( *locking_type) = 1.*$/$1 = 2/m or die; +s/^( *fallback_to_clustered_locking) = .*$/$1 = 0/m or die; +s/^( *fallback_to_local_locking) = .*$/$1 = 0/m or die; s/^( *)# *(locking_library.*)$/$1$2/m or die; s/^( *)# *(library_dir.*)$/$1$2/m or die; -- 1.7.9.5