lib/reap/task/fileperm.rb in reap-4.0.0 vs lib/reap/task/fileperm.rb in reap-4.3.1
- old
+ new
@@ -4,16 +4,13 @@
#
# File Permissions Task
#
class Reap::Perm < Reap::Task
- attr_accessor :user, :group, :filemod, :dirmod
-
+ task_desc "Normalize ownership and permissions of package files."
section_required true
- def task_desc
- "Normalize ownership and permissions of package files."
- end
+ attr_accessor :user, :group, :filemod, :dirmod
def init
@user = section['user']
@group ||= @user
@filemod ||= 644