Remove systemd.services

This commit is contained in:
Dennis ten Hoove 2023-10-17 18:52:31 +02:00
parent fe4f0d8a94
commit 28cb12de16

View file

@ -137,19 +137,6 @@ if [[ $type == 'archlinux' ]]; then
arch-chroot $workdir pacman -S --noconfirm ${packages[*]} || cleanup_and_quit 'Failed to install base packages'
fi
# Enable systemd services if requested
if [[ -e $configs_dir/$variant/systemd.services ]]; then
printf '\e[1;34m-->\e[0m\e[1m Enabling systemd services\e[0m\n'
readarray services < $configs_dir/$variant/systemd.services
for service in ${services[*]}; do
arch-chroot $workdir systemctl enable $service
done
fi
# Clear pacman cache
arch-chroot $workdir pacman --noconfirm -Scc