blob: e2e9e9bd2999bb0afcb8b95be8a1cd77ddd9a6dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# tag Debian Edu machine as a workstation
if [ -f $target/etc/debian-edu/config ]; then
# FIXME: we already do this in hooks/instsoft.WORKSTATION... (really required here again?)
sed -i $target/etc/debian-edu/config -e "s/^PROFILE=.*$/PROFILE=\"Workstation\"/"
# reconfigure debian-edu-install to get desktop profiles right
export DEBIAN_FRONTEND=noninteractive
chroot $target dpkg-reconfigure debian-edu-install
unset DEBIAN_FRONTEND
fi
|