Create symlink in a one step.
--- a/Makefile Fri Jan 08 13:57:12 2021 +0200
+++ b/Makefile Fri Jan 08 13:59:23 2021 +0200
@@ -149,10 +149,8 @@
fi
done
chmod a+x ~/.xinitrc ~/.xserverrc
- rm -f ~/.xsession
- ln -s ~/.xinitrc ~/.xsession
- rm -f ~/.bash_profile
- cp ~/.bashrc ~/.bash_profile
+ ln -s -f ~/.xinitrc ~/.xsession
+ ln -s -f $(HOME)/.bashrc $(HOME)/.bash_profile
mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/
umask 0117
$(INSTALL_DATA) .local/share/mc/bashrc $(HOME)/.local/share/mc/