diff --git a/app/models/package.rb b/app/models/package.rb index e1eea6e2c..a54ff89c3 100644 --- a/app/models/package.rb +++ b/app/models/package.rb @@ -47,7 +47,7 @@ class Package < ApplicationModel # install all packages located under auto_install/*.zpm def self.auto_install path = @@root + '/auto_install/' - return if ! File.exist?( path ) + return if !File.exist?( path ) data = [] Dir.foreach( path ) do |entry| if entry =~ /\.zpm/ && entry !~ /^\./