Package: xen-tools
Version: 4.5-1
Severity: normal
Tags: patch

Dear Maintainer,

the removeDebianPackage function uses ${package} which is unset (and
thus the entire command fails when using `set -o nounset`).  The
following trivial patch should fix the problem:


--- a/hooks/common.sh
+++ b/hooks/common.sh
@@ -322,7 +322,7 @@ removeDebianPackage ()
     #
     # Log our options
     #
-    logMessage "Purging Debian package ${package} from prefix ${prefix}"
+    logMessage "Purging Debian package $@ from prefix ${prefix}"
 
     #
     #  We require a prefix


Thank you
Lukas

Attachment: pgpJvn8TME2p5.pgp
Description: OpenPGP digital signature

Reply via email to