# HG changeset patch # User Oleksandr Gavenko # Date 1610107163 -7200 # Node ID dc543d247f29b40952c094e5f50684de58d9a715 # Parent 186bfef3c7d17f956c158b04afba3cb23de739a5 Create symlink in a one step. diff -r 186bfef3c7d1 -r dc543d247f29 Makefile --- 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/