lib/buildrdeb/package.rb in buildrdeb-0.0.2 vs lib/buildrdeb/package.rb in buildrdeb-0.0.3
- old
+ new
@@ -77,10 +77,12 @@
deb.tap do
package ||= project.id
version ||= project.version
end
deb.enhance do |task|
- raise "no control file was defined when packaging #{project.id} as a deb file" if task.control.nil?
+ task.enhance do
+ raise "no control file was defined when packaging #{project.id} as a deb file" if task.control.nil?
+ end
end
return deb
end
end
end
\ No newline at end of file