X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=vim%2Finstall.pl;h=16e4a128e9acc28b288dd50c75f873380d3e9a82;hb=e8dc39ef59d18cbe4f9fa914524da1a45fb28cb8;hp=7bc9e46163dd46b6975eae6766a2cfe4bc529066;hpb=08456d66bf9056ea3debfe02bf78d0f354c0961d;p=dotfiles.git diff --git a/vim/install.pl b/vim/install.pl index 7bc9e46..16e4a12 100755 --- a/vim/install.pl +++ b/vim/install.pl @@ -19,7 +19,7 @@ print `ln -s $vimDir $home/.vim`; print `ln -s $vimrc $home/.vimrc`; if ($? == 0) { - print "Link files Done." unless $?; + print "Link files Done.\n"; } else { die; } @@ -31,12 +31,12 @@ my $vundleDir = $vimDir . "/bundle/Vundle.vim"; if (not -e "$vundleDir"){ die "Vundle directory not exists, abort.\n"; } elsif (-s "$vundleDir") { - print "Vundle exists and not empty.\n"; -} else { print " clone submodules \n"; chdir $vundleDir; ! system "git submodule init" or die $!; ! system "git submodule update" or die $!; +} else { + print "Vundle exists and not empty.\n"; } print <<'END'