summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
blob: 05885203e55ab4bfe26f0cfd2b8bbb01d7338021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

update-alternatives --quiet \
	--install /libexec/runsystem runsystem /libexec/runsystem.gnu 20

update-alternatives \
	--install /usr/bin/fakeroot fakeroot /bin/fakeroot-hurd 30

#DEBHELPER#

for i in vcs tty1 tty2 tty3 tty4 tty5 tty6; do
	if ! [ -e /dev/$i ]; then
		cd /dev
		/sbin/MAKEDEV $i || true
	fi
done