This commit is contained in:
committer
2024-05-19 22:07:06 -05:00
parent b605864b91
commit f134809fda

View File

@@ -252,15 +252,17 @@ if [ ${operation} == "dots" ] ; then
#mkdir -p ${file_path} #mkdir -p ${file_path}
#deploy_file "${dots_trg}/lemurs/*" "${file_path}/" #deploy_file "${dots_trg}/lemurs/*" "${file_path}/"
file_name=startx #file_name=i3
file_path=/etc/lemurs/wms file_name_src=.xinitrc
if [ -f ${file_path}/${file_name} ] ; then file_name_trg=i3
file_path=/home/${user}
if [ -f ${file_path}/${file_name_trg} ] ; then
echo "" echo ""
echo "softlink already exists: ${file_path}/${file_name}" echo "softlink already exists: ${file_path}/${file_name_trg}"
else else
echo "" echo ""
echo "creating soft link: ${file_path}/${file_name} ➔ /usr/bin/startx" echo "creating soft link: ${file_path}/${file_name_src} ➔ /etc/lemurs/wms/${file_name_trg}"
ln -s /usr/bin/startx /etc/lemurs/wms ln -s ${file_path}/${file_name_src} /etc/lemurs/wms/${file_name_trg}
fi fi
fi fi