From 78fdb2526c9a72d4707d368b44ae5c78679938c0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 23 Mar 2013 04:47:55 -0400 Subject: [PATCH] Don't re-compile vim if it was recently compiled --- install/vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/vim b/install/vim index b20ce59c..f7024d67 100755 --- a/install/vim +++ b/install/vim @@ -4,7 +4,7 @@ if is_mac && ! command_exists "mvim"; then echo-g "==> Installing macvim" brew install macvim --with-cscope --override-system-vim -elif is_deb; then +elif is_deb && ! vim --version | grep "Compiled by $(whoami)@$(hostname)" 2>&1 >/dev/null; then echo-g "==> Preparing to compile vim from source" pkg-install libncurses5-dev libgnome2-dev libgnomeui-dev \ libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \