From 0e4fc40fd89341053c0fa01947b8711fc84976a5 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Tue, 12 Jul 2022 01:25:57 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util-iso.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util-iso.sh b/util-iso.sh index dd440cc..d04d8fa 100755 --- a/util-iso.sh +++ b/util-iso.sh @@ -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