Bug#611271: Acknowledgement (x11-common fails to install during bootstrapping)
tag 611271 patch
thanks
here's the patch.
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
>From dcf00546803385a3ea9e0582bc117abc55803103 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baumann@progress-technologies.net>
Date: Thu, 27 Jan 2011 16:14:30 +0100
Subject: [PATCH] Creating wrapper config directory if not existing, otherwise bootstrapping fails (Closes: #611271).
---
debian/x11-common.postinst.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/debian/x11-common.postinst.in b/debian/x11-common.postinst.in
index abe2301..626a58d 100644
--- a/debian/x11-common.postinst.in
+++ b/debian/x11-common.postinst.in
@@ -24,6 +24,7 @@ XWRAPPER_CONFIG_ROSTER="$CONFIG_AUX_DIR/$XWRAPPER_CONFIG_ROSTER_BASE"
# register this package as a (potential) handler of the X server wrapper
# config file
if ! fgrep -qsx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER"; then
+ mkdir -p "$(dirname $XWRAPPER_CONFIG_ROSTER)"
echo "$THIS_PACKAGE" >> "$XWRAPPER_CONFIG_ROSTER"
fi
--
1.7.2.3
Reply to: