diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index e36be18..f13f013 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -240,8 +240,15 @@ if [ ${operation} == "dots" ] ; then file_path=/home/${user} deploy_file "${dots_trg}/xorg/.*" "${file_path}/" - # lemurs - ln -s /home/${user}/.xinitrc /etc/lemurs/wms + # lemurs (display/login manager) + file_name=.xinitrc + file_path=/etc/lemurs/wms + if [ -f ${trg_dir}/${file_name} ] ; then + echo "softlink exists: ${trg_dir}/${file_name}" + else + echo "creating soft link: ${trg_dir}/${file_name} ➔ /home/${user}/.xinitrc" + ln -s /home/${user}/.xinitrc /etc/lemurs/wms + fi fi