summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-31 00:09:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-31 00:09:07 +0100
commit60d0f60fd744f491c8e6c4ef8b6cdf99cbafd725 (patch)
tree5adef00c50b9b29ed8f9cda1d6b3010c4a25b96e /debian/hurd.postinst
parent7d45df0f60658c229989ff8f275691ddd49cb150 (diff)
parentce7fb7fffac216476bb287950d463328c34849d7 (diff)
Merge branch 'master' of git.debian.org:/git/pkg-hurd/hurd
Conflicts: debian/changelog
Diffstat (limited to 'debian/hurd.postinst')
-rw-r--r--debian/hurd.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index ba855fa9..f796a39a 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -61,8 +61,12 @@ if [ "$1" = configure ] && [ "$2" ]; then
then
# old random-egd translator, remove
settrans -go /dev/random
+ rm -f /dev/random
settrans -go /dev/urandom
+ rm -f /dev/urandom
fi
/usr/lib/hurd/setup-translators -K
+ update-alternatives --install /dev/random random /dev/random-hurd 10 \
+ --slave /dev/urandom urandom /dev/urandom-hurd
fi