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