summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2008-09-04 22:10:30 +0000
committerMichael Banck <mbanck@debian.org>2008-09-04 22:10:30 +0000
commit2e5f9f4b3d815f25adb594aa6df238e5ce483d12 (patch)
tree393df5587312bb0f75dd21641ae46d3eda229716 /debian/rules
parent4e1616775d396ba06dd2cb9ec5b9f4f60e2dfa4a (diff)
* debian/rules (install/hurd): Move away ps, uptime, vmstat and w in order
to have them handled by update-alternatives. * debian/hurd.postinst: Run update-alternatives for ps, uptime, vmstat and w.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 6dd8a142..a664d8d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,9 +43,13 @@ install/hurd::
# runsystem is managed by update-alternatives
mv debian/tmp/libexec/runsystem debian/tmp/libexec/runsystem.gnu
- # move away fakeroot to not conflict with the one from the
- # fakeroot package
+ # move away fakeroot, ps, uptime, vmstat and w to not conflict with the
+ # ones from other packages
mv debian/tmp/bin/fakeroot debian/tmp/bin/fakeroot-hurd
+ mv debian/tmp/bin/ps debian/tmp/bin/ps-hurd
+ mv debian/tmp/bin/uptime debian/tmp/bin/uptime-hurd
+ mv debian/tmp/bin/vmstat debian/tmp/bin/vmstat-hurd
+ mv debian/tmp/bin/w debian/tmp/bin/w-hurd
install -m664 debian/hurd-console.default debian/hurd/etc/default/hurd-console