merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 06 Mar 2014 23:31:38 +0200
changeset 693 638f5c819c90
parent 691 0ecc44e6281e (current diff)
parent 692 94abd8fa5462 (diff)
child 694 4085f6499252
child 695 99ce69d10085
merged
--- a/Makefile	Mon Feb 17 13:50:44 2014 +0200
+++ b/Makefile	Thu Mar 06 23:31:38 2014 +0200
@@ -85,6 +85,7 @@
 	done
 	chmod 700 ~/.gnupg/
 	chmod a+x ~/.fvwm/FvwmKbdd.pl
+	command -v fvwm || exit 0; \
 	for f in /etc/xdg/menus/*.menu; do \
 		[ -f "$$f" ] || continue; \
 		fname=$${f%.menu}; \
@@ -115,6 +116,7 @@
 	ln -s ~/.xinitrc ~/.xsession
 	rm -f ~/.bash_profile
 	ln -s ~/.bashrc ~/.bash_profile
+	command -v mc || exit 0; \
 	v=`mc --version | sed 's|.*\([0-9]\+\.[0-9]\+\.[0-9]\+\)$$|\1|;q'`; \
 	vmajor=$${v%%.*}; \
 	vminor=$${v#*.}; \