🚧 fix syntax

This commit is contained in:
Vladislav Nepogodin committed 2022-07-12 01:25:57 +04:00
1 parent 86122cfbe1
commit 0e4fc40fd8
1 file changed
+3 -3
+3 -3
View File
@@ -62,14 +62,14 @@ prepare_profile(){
info "Profile: [%s]" "${profile}"
rm ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
if [[$profile == "kde"]]; then
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
elif [ "$profile" == "gnome" ]; then
rm ${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
elif [ "$profile" == "xfce" ]; then
cp ${src_dir}/archiso/packages_xfce.x86_64 ${src_dir}/archiso/packages.x86_64
ln -sf /usr/lib/systemd/system/lightdm.service ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
else