install.rb in file-tail-0.1.4 vs install.rb in file-tail-1.0.0
- old
+ new
@@ -6,14 +6,17 @@
include Config
cd 'lib' do
libdir = CONFIG["sitelibdir"]
- subdir = 'file'
- filename = 'tail.rb'
- dest = File.join(libdir, subdir)
+ dest = File.join(libdir, 'file')
mkdir_p(dest)
- file = File.join('file', filename)
+ file = File.join('file', 'tail.rb')
+ install(file, dest)
+
+ dest = File.join(dest, 'tail')
+ mkdir_p(dest)
+ file = File.join('file', 'tail', 'version.rb')
install(file, dest)
end
# vim: set et sw=2 ts=2: