summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--debian/hurd.postinst12
2 files changed, 8 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 36b6f510..af3b87ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
hurd (20120520-2) UNRELEASED; urgency=low
- * Do not make hurd-udeb depend on netdde-udeb, it leads to configure
+ * control: Do not make hurd-udeb depend on netdde-udeb, it leads to configure
recursion, and is not actually needed.
+ * hurd.postinst: Drop error messages while fetching pfinet options.
-- Samuel Thibault <sthibault@debian.org> Tue, 22 May 2012 00:07:09 +0000
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index a8a5c087..eb079b71 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -77,16 +77,16 @@ if [ "$1" = configure ] && [ "$2" ]; then
/usr/lib/hurd/setup-translators -K
# upgrade pfinet into using DDE node
- if PFINET="`showtrans /servers/socket/2`"
+ if PFINET=`showtrans /servers/socket/2` 2> /dev/null
then
- PFINET=$(echo "$PFINET" | sed 's_ eth_ /dev/eth_')
- PFINET=$(echo "$PFINET" | sed 's_=eth_=/dev/eth_')
+ PFINET=`echo "$PFINET" | sed 's_ eth_ /dev/eth_'`
+ PFINET=`echo "$PFINET" | sed 's_=eth_=/dev/eth_'`
settrans -pk /servers/socket/2 $PFINET
fi
- if PFINET6=`showtrans /servers/socket/26`
+ if PFINET6="`showtrans /servers/socket/26`" 2> /dev/null
then
- PFINET6=$(echo "$PFINET6" | sed 's_ eth_ /dev/eth_')
- PFINET6=$(echo "$PFINET6" | sed 's_=eth_=/dev/eth_')
+ PFINET6=`echo "$PFINET6" | sed 's_ eth_ /dev/eth_'`
+ PFINET6=`echo "$PFINET6" | sed 's_=eth_=/dev/eth_'`
settrans -pk /servers/socket/26 $PFINET6
fi
fi