Update gpu-intel.func
This commit is contained in:
parent
dda43e05a6
commit
cfda3bce51
@ -64,11 +64,16 @@ function install_intel_tools_in_ct() {
|
|||||||
|
|
||||||
if [[ "$install_nonfree" == "yes" ]]; then
|
if [[ "$install_nonfree" == "yes" ]]; then
|
||||||
msg info "Enabling non-free sources in $ctid..."
|
msg info "Enabling non-free sources in $ctid..."
|
||||||
pct exec "$ctid" -- bash -c "tee /etc/apt/sources.list.d/non-free.list >/dev/null" <<'EOF'
|
|
||||||
|
pct exec "$ctid" -- bash -c '
|
||||||
|
grep -q "non-free" /etc/apt/sources.list && exit 0
|
||||||
|
|
||||||
|
cat <<EOF > /etc/apt/sources.list.d/non-free.list
|
||||||
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||||
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
EOF
|
EOF
|
||||||
|
'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg info "Installing Intel tools in CT $ctid..."
|
msg info "Installing Intel tools in CT $ctid..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user