Fix "ln: creating symbolic link `/home/user/.xsession': File exists".
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 02 Jan 2012 17:57:42 +0200
changeset 278 b6adff7cbcb1
parent 277 38c4ac60b6fb
child 279 5845d7aa3ca4
Fix "ln: creating symbolic link `/home/user/.xsession': File exists".
Makefile
--- a/Makefile	Sun Dec 18 17:47:04 2011 +0200
+++ b/Makefile	Mon Jan 02 17:57:42 2012 +0200
@@ -88,6 +88,7 @@
 		fi; \
 	done
 	mkdir -p $(HOME)/.mc
+	rm -f ~/.xsession
 	ln -s ~/.xinitrc ~/.xsession
 	install -m 640 .mc/bashrc $(HOME)/.mc
 ifeq '$(host_os)' 'cygwin'