summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2005-05-13 19:43:47 +0000
committerMichael Banck <mbanck@debian.org>2005-05-13 19:43:47 +0000
commit3aab23a597a465e8b78e5e800eb69784dcd44f57 (patch)
tree2aac8a4fc9ca4b478bd57bfb904df60d348e91ae /debian/hurd.postinst
parent3f89070b1906912e525d923164c28679836438c1 (diff)
* debian/hurd.postinst: Handle /bin/fakeroot-hurd by alternatives.
Diffstat (limited to 'debian/hurd.postinst')
-rw-r--r--debian/hurd.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index f733e82e..a398f1b8 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -5,6 +5,9 @@ set -e
update-alternatives --quiet \
--install /libexec/runsystem runsystem /libexec/runsystem.gnu 20
+update-alternatives \
+ --install /usr/bin/fakeroot fakeroot /bin/fakeroot-hurd 30
+
if ! grep --quiet '^login:' /etc/passwd; then
adduser --quiet --system --home /etc/login --gecos "Not logged in" --no-create-home login
chsh -s /bin/bash login