Skip to content

Commit

Permalink
update ca certificates after upgrade (bnc#889616)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 7, 2014
1 parent fe1da1c commit 27395b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/clients/save_config_finish.rb
Expand Up @@ -35,6 +35,8 @@

module Yast
class SaveConfigFinishClient < Client
include Yast::Logger

def main

textdomain "installation"
Expand Down Expand Up @@ -187,6 +189,13 @@ def main
)
SCR.Write(path(".sysconfig.security"), nil)

# ensure we have correct ca certificates
if Mode.update
res = SCR.Execute(path(".target.bash_output"),
"/usr/sbin/update-ca-certificates")
log.info("updating ca certificates result: #{res}")
end

Progress.NextStep
# progress step title
Progress.Title(_("Saving boot scripts settings..."))
Expand Down

0 comments on commit 27395b0

Please sign in to comment.