summaryrefslogtreecommitdiff
path: root/lib/backup/packages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/packages.rb')
-rw-r--r--lib/backup/packages.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/backup/packages.rb b/lib/backup/packages.rb
index 037ff31fd9b..9384e007162 100644
--- a/lib/backup/packages.rb
+++ b/lib/backup/packages.rb
@@ -2,14 +2,11 @@
module Backup
class Packages < Backup::Files
- attr_reader :progress
-
def initialize(progress)
- @progress = progress
-
- super('packages', Settings.packages.storage_path, excludes: ['tmp'])
+ super(progress, 'packages', Settings.packages.storage_path, excludes: ['tmp'])
end
+ override :human_name
def human_name
_('packages')
end