summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
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/hurd.postinst
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/hurd.postinst')
-rw-r--r--debian/hurd.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index 6df4bfba..dce5b99a 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -8,6 +8,18 @@ update-alternatives --quiet \
update-alternatives \
--install /usr/bin/fakeroot fakeroot /bin/fakeroot-hurd 30
+update-alternatives \
+ --install /usr/bin/ps ps /bin/ps-hurd 60
+
+update-alternatives \
+ --install /usr/bin/uptime uptime /bin/uptime-hurd 30
+
+update-alternatives \
+ --install /usr/bin/vmstat vmstat /bin/vmstat-hurd 60
+
+update-alternatives \
+ --install /usr/bin/w w /bin/w-hurd 60
+
#DEBHELPER#
for i in vcs tty1 tty2 tty3 tty4 tty5 tty6; do