Don't re-compile vim if it was recently compiled

This commit is contained in:
Henrik Lissner 2013-03-23 04:47:55 -04:00
parent f1dfd720b9
commit 78fdb2526c

View file

@ -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 \