# File lib/tasks/polkit_version.rb, line 28 def polkit1 #checking which policykit is used polkit1_enabled = true if File.exist?(WEBYAST_CONFIG_FILE) values = YAML::load(File.open(WEBYAST_CONFIG_FILE, 'r').read) polkit1_enabled = false if values["polkit1"] == false end polkit1_enabled end