From 64ff428d0ee4c14f4e154962a1b8ed4443390be3 Mon Sep 17 00:00:00 2001 From: Greg Brockman Date: Thu, 24 Dec 2009 19:48:04 -0500 Subject: [PATCH] Fixed perlishness svn path=/trunk/packages/hvirt-devconfig/; revision=2785 --- debian/changelog | 2 +- debian/hvirt-devconfig.postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2cd3258..05e7f18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,7 @@ hvirt-devconfig (0.6) unstable; urgency=low * Added a postinst to set the default_realm appropriately * Fixed entry for console in master.yaml - -- + -- Greg Brockman Thu, 24 Dec 2009 19:34:11 -0500 hvirt-devconfig (0.5) unstable; urgency=low diff --git a/debian/hvirt-devconfig.postinst b/debian/hvirt-devconfig.postinst index b52fc9d..3deaf89 100644 --- a/debian/hvirt-devconfig.postinst +++ b/debian/hvirt-devconfig.postinst @@ -20,7 +20,7 @@ set -e case "$1" in configure) # Need to do it like this to avoid shell injection - /usr/bin/perl -i -e '$r = `invirt-getconf kerberos.realm`; $r.chomp; + /usr/bin/perl -i -e '$r = `invirt-getconf kerberos.realm`; chomp($r); while(<>) { s/^([ \t]*default_realm *=).*$/\1 $r/m; print; }' /etc/krb5.conf.invirt ;; -- 1.7.9.5