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
+5 -5
View File
@@ -39,14 +39,14 @@ if [[ "${ID}" == 'fedora' ]]; then
fi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --dpkg-reconfigure
"${baseDir}/debian/dpkg-reconfigure.sh"
fi
"${baseDir}/partition.sh" --efi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
if [[ -e '/usr/bin/os-prober' ]]; then
"${baseDir}/debian.sh" --purge-os-prober
"${baseDir}/debian/purge-os-prober.sh"
fi
fi
@@ -74,11 +74,11 @@ printf \
"${baseDir}/swap.sh"
if [[ "${ID}" == 'debian' ]]; then
"${baseDir}/debian.sh" --network-manager
"${baseDir}/debian/network-manager.sh"
fi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --initramfs
"${baseDir}/debian/initramfs.sh"
elif [[ "${ID}" == 'fedora' ]]; then
"${baseDir}/fedora.sh" --dracut
fi
@@ -92,7 +92,7 @@ fi
"${baseDir}/efi.sh"
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --systemctl-enable
"${baseDir}/debian/systemctl-enable.sh"
fi
zfs \