Moves the following to Vim's code block in OptionalPackages:

* addition of common/etc/vimrc
 * creation of symlink vi --> vim
Improves but not a final fix for #5699


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia
2010-04-08 14:22:16 +00:00
parent 6ed212bd43
commit 0660612cdb
2 changed files with 10 additions and 5 deletions
+10
View File
@@ -1083,6 +1083,11 @@ if [ IsOptionalHaikuImagePackageAdded Vim ] {
;
AddSymlinkToHaikuImage home config be Applications
: /boot/common/bin/gvim ;
# TODO: move this symlink to the archive
AddSymlinkToHaikuImage common bin : vim : vi ;
# TODO: remove vimrc from the repository and add it to the archive
SEARCH on <etc>vimrc = [ FDirName $(HAIKU_TOP) data etc vim ] ;
AddFilesToHaikuImage common etc vim : <etc>vimrc ;
} else {
InstallOptionalHaikuImagePackage vim-7.2-r1a1-x86-gcc2-2009-09-06.zip
: $(baseURL)/vim-7.2-r1a1-x86-gcc2-2009-09-06.zip
@@ -1090,6 +1095,11 @@ if [ IsOptionalHaikuImagePackageAdded Vim ] {
;
AddSymlinkToHaikuImage home config be Applications
: /boot/common/bin/gvim ;
# TODO: move this symlink to the archive
AddSymlinkToHaikuImage common bin : vim : vi ;
# TODO: remove vimrc from the repository and add it to the archive
SEARCH on <etc>vimrc = [ FDirName $(HAIKU_TOP) data etc vim ] ;
AddFilesToHaikuImage common etc vim : <etc>vimrc ;
}
}