mirror of
https://github.com/meineerde/dotfiles.git
synced 2026-02-06 00:53:23 +00:00
Fix install rake
This commit is contained in:
parent
77aeac9e23
commit
3230d47b4f
4
Rakefile
4
Rakefile
@ -9,7 +9,7 @@ namespace :install do
|
||||
full = File.join Dir.pwd, file
|
||||
Dir.chdir ENV["HOME"] do
|
||||
mkdir_p File.dirname(file)
|
||||
sh "rm #{file}" if (File.exist? file and File.directory? full)
|
||||
File.delete(file) if (File.exist? file and File.directory? full)
|
||||
sh "ln -sf #{full} #{file}"
|
||||
end
|
||||
end
|
||||
@ -18,7 +18,7 @@ namespace :install do
|
||||
end
|
||||
|
||||
install :irb, ".irbrc", ".config/irb/*.rb"
|
||||
install :dot, ".bash_profile", ".bashrc", ".gemrc", ".vimrc", ".vim", ".gitignore", ".gitconfig"
|
||||
install :dot, ".bash_profile", ".bashrc", ".gemrc", ".vimrc", ".vim", ".gitignore", ".global_gitconfig"
|
||||
install :bin, "bin/*"
|
||||
|
||||
desc "installs the custom texmf folder"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user