summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-06 17:12:40 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-06 17:12:40 +0100
commitfb2f22d51bd4c5931041ab8a006294bd6ed5cd70 (patch)
tree2ac1c6b6505c2c61083372484e61688cb6736552 /debian/hurd.postinst
parent9801516c8dfe415cd2ed94f7ffe391ed178274f5 (diff)
Fool lintian about removing the random devices
Diffstat (limited to 'debian/hurd.postinst')
-rw-r--r--debian/hurd.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index 4828112c..0e3a3b1a 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -61,9 +61,8 @@ 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
+ ( cd /dev ; rm -f random urandom )
fi
/usr/lib/hurd/setup-translators -K
update-alternatives --install /dev/random random /dev/random-hurd 10 \