blob: be019d2746fe1563202afc00947768ed6bcd1fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
for file in /root/config/*; do [ -r $file ] && . $file; done
case "${LB_DISTRIBUTION}" in
whezzy|jessie|stretch|buster|bullseye)
exit 0
;;
*)
if [ "$LB_ARCHITECTURE" = "amd64" ]; then
cat << EOF | debconf-set-selections
refind refind/install_to_esp boolean false
EOF
DEBIAN_FRONTEND=noninteractive apt-get install -y refind refind-icons-kanotix
cat << EOF | debconf-set-selections
refind refind/install_to_esp boolean true
EOF
fi
;;
esac
|