equal
deleted
inserted
replaced
155 rm -f ~/.bash_profile |
155 rm -f ~/.bash_profile |
156 cp ~/.bashrc ~/.bash_profile |
156 cp ~/.bashrc ~/.bash_profile |
157 mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \ |
157 mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \ |
158 umask 0117; \ |
158 umask 0117; \ |
159 $(INSTALL_DATA) .local/share/mc/bashrc $(HOME)/.local/share/mc/; \ |
159 $(INSTALL_DATA) .local/share/mc/bashrc $(HOME)/.local/share/mc/; \ |
160 cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext; \ |
160 cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext |
161 { \ |
|
162 echo 'default/*'; \ |
|
163 echo ' Open=file %f'; \ |
|
164 echo ' Edit=[ `du -m %f | { read size rest; echo $$size; }` -le 4 ] && e %f || echo Too large file for Emacs...'; \ |
|
165 } >>$(HOME)/.config/mc/mc.ext |
|
166 ifneq '' '$(filter $(host_os),cygwin linux)' |
161 ifneq '' '$(filter $(host_os),cygwin linux)' |
167 if command -v file 1>/dev/null; then \ |
162 if command -v file 1>/dev/null; then \ |
168 $(INSTALL_DATA) .magic $(HOME); \ |
163 $(INSTALL_DATA) .magic $(HOME); \ |
169 cd $(HOME); \ |
164 cd $(HOME); \ |
170 file --compile -m .magic; \ |
165 file --compile -m .magic; \ |