summaryrefslogtreecommitdiff
path: root/lib/ftools.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftools.rb')
-rw-r--r--lib/ftools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftools.rb b/lib/ftools.rb
index 59bc81b365..ff487dc808 100644
--- a/lib/ftools.rb
+++ b/lib/ftools.rb
@@ -151,7 +151,7 @@ class << File
o_chmod mode, *files
end
- def install(from, to, mode, verbose)
+ def install(from, to, mode = nil, verbose = false)
to = catname(from, to)
unless FileTest.exist? to and cmp from, to
cp from, to, verbose