summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-23 23:55:42 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-23 23:55:42 +0200
commit0a80ec29e5c04796d2662546f6d93fc3e332b85d (patch)
tree61862638b42f869e675080bb7cb43bec795afe13 /debian
parentcdf2c106ff0b36792d3b64f35992d712347181fd (diff)
hurd.postinst: Drop error messages while fetching pfinet options.
Diffstat (limited to 'debian')
-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