- Timestamp:
- 01/13/08 17:31:39 (5 years ago)
- Files:
-
- 1 modified
-
dotfiles/setup/cho45-setup.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/setup/cho45-setup.rb
r4524 r4544 28 28 def link(src, dst) 29 29 puts "#{src} =>\n\t#{dst}" 30 src = File.expand_path(src) 31 dst = File.expand_path(dst) 32 remove_file dst if File.symlink?(dst) 33 remove_file dst if File.file?(dst) 34 ln_sf src, dst 30 src = Pathname.new(src).expand_path 31 dst = Pathname.new(dst).expand_path 32 dst.parent.mkpath unless dst.parent.exist? 33 remove_file dst if dst.symlink? 34 remove_file dst if dst.file? 35 ln_sf src.to_s, dst.to_s 35 36 end 36 37
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)