Makefile
changeset 611 54de7fabecd7
parent 602 a930cfd5a0e6
child 616 e3dd5c39cceb
equal deleted inserted replaced
610:3db3d6236d9c 611:54de7fabecd7
   116 	ln -s ~/.bashrc ~/.bash_profile
   116 	ln -s ~/.bashrc ~/.bash_profile
   117 	v=`mc --version | sed 's|.*\([0-9]\+\.[0-9]\+\.[0-9]\+\)$$|\1|;q'`; \
   117 	v=`mc --version | sed 's|.*\([0-9]\+\.[0-9]\+\.[0-9]\+\)$$|\1|;q'`; \
   118 	vmajor=$${v%%.*}; \
   118 	vmajor=$${v%%.*}; \
   119 	vminor=$${v#*.}; \
   119 	vminor=$${v#*.}; \
   120 	vminor=$${vminor%.*}; \
   120 	vminor=$${vminor%.*}; \
   121 	umask 0117; \
       
   122 	if [ $$vmajor -gt 4 -o '(' $$vmajor -eq 4 -a $$vminor -ge 8 ')' ]; then \
   121 	if [ $$vmajor -gt 4 -o '(' $$vmajor -eq 4 -a $$vminor -ge 8 ')' ]; then \
   123 		mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \
   122 		mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \
       
   123 		umask 0117; \
   124 		install -m 640 .local/share/mc/bashrc $(HOME)/.local/share/mc/; \
   124 		install -m 640 .local/share/mc/bashrc $(HOME)/.local/share/mc/; \
   125 		cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext; \
   125 		cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext; \
   126 		{ \
   126 		{ \
   127 			echo 'default/*'; \
   127 			echo 'default/*'; \
   128 			echo '    Open=file %f'; \
   128 			echo '    Open=file %f'; \