setup.rb in grumblr-2.4.0 vs setup.rb in grumblr-2.4.1
- old
+ new
@@ -23,20 +23,20 @@
target = '/usr/share/pixmaps/grumblr.svg'
if File.exists?(target)
puts " - #{target} exists, skipping."
else
puts " + #{target} does not exist. copying"
- File.copy File.join(path, 'data', 'pixmaps', 'grumblr.svg'),
- target, :verbose => true
+ FileUtils.copy File.join(path, 'data', 'pixmaps', 'grumblr.svg'),
+ target, :verbose => true
end
target = '/usr/share/applications/grumblr.desktop'
if File.exists?(target)
puts " - #{target} exists, skipping."
else
puts " + #{target} does not exist, copying"
- File.copy File.join(path, 'data', 'grumblr.desktop'),
- target, :verbose => true
+ FileUtils.copy File.join(path, 'data', 'grumblr.desktop'),
+ target, :verbose => true
end
target = '/usr/local/bin/grumblr'
if File.exists?(target)
puts " - #{target} exists, linking."