👷 ignore nonexistance

This commit is contained in:
Vladislav Nepogodin committed 2022-07-12 01:31:07 +04:00
1 parent 0e4fc40fd8
commit a5d4a89f7c
1 file changed
+2 -2
+2 -2
View File
@@ -61,12 +61,12 @@ prepare_profile(){
info "Profile: [%s]" "${profile}"
rm ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
rm -f ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
if [ "$profile" == "kde" ]; then
cp ${src_dir}/archiso/packages_kde.x86_64 ${src_dir}/archiso/packages.x86_64
ln -sf /usr/lib/systemd/system/sddm.service ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
elif [ "$profile" == "gnome" ]; then
rm ${src_dir}/archiso/airootfs/etc/motd
rm -f ${src_dir}/archiso/airootfs/etc/motd
cp ${src_dir}/archiso/packages_gnome.x86_64 ${src_dir}/archiso/packages.x86_64
ln -sf /usr/lib/systemd/system/gdm.service ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
elif [ "$profile" == "xfce" ]; then