Split [debian.sh] into multiple scripts inside a [debian] directory, adjusted references in other files to reflect changes

This commit is contained in:
2026-08-01 21:48:51 -04:00
parent 2ebb72620b
commit cd8baf67e5
15 changed files with 261 additions and 12 deletions
Vendored Executable
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
set -euo pipefail
source \
/etc/os-release
if [[ "${ID}" == 'debian' ]] && [[ ! "$(hostname)" == "debian-live" ]]; then
cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null
Enabled: yes
Types: deb
URIs: http://deb.debian.org/debian/
Suites: ${VERSION_CODENAME}
Components: contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOF
fi
apt \
--update \
install \
--yes \
mmdebstrap \
gdisk \
linux-headers-generic \
systemd-timesyncd \
whois \
zfsutils-linux