Split [debian.sh] into multiple scripts inside a [debian] directory, adjusted references in other files to reflect changes
This commit is contained in:
+5
-5
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user