Skip to content

Commit

Permalink
Merge 459e819 into 4c2f9c5
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Sep 15, 2021
2 parents 4c2f9c5 + 459e819 commit 220cc5e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package/yast2-packager.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 15 12:35:42 UTC 2021 - Stefan Hundhammer <shundhammer@suse.com>

- Check if the "pkg" UI plug-in is available and if not, ask
the user if it should be installed
(jsc#SLE-20346, jsc#SLE-20462)
- 4.4.10

-------------------------------------------------------------------
Mon Aug 23 13:31:34 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
6 changes: 3 additions & 3 deletions package/yast2-packager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.4.9
Version: 4.4.10
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down Expand Up @@ -48,8 +48,8 @@ BuildRequires: ruby-solv
Requires: yast2-country-data >= 2.16.3
# raw_name
Requires: yast2-pkg-bindings >= 4.2.8
# Installation::InstallationInfo
Requires: yast2 >= 4.4.4
# UIExtensionChecker
Requires: yast2 >= 4.4.19
# unzipping license file
Requires: unzip
# HTTP, FTP, HTTPS modules (inst_productsources.ycp)
Expand Down
4 changes: 4 additions & 0 deletions src/clients/sw_single.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require "y2packager/known_repositories"
require "y2packager/system_packages"
require "y2packager/resolvable"
require "ui/ui_extension_checker"

module Yast
# Purpose: contains dialog loop for workflows:
Expand Down Expand Up @@ -73,6 +74,9 @@ def main
return CommandLine.Run(@cmdline_description)
end

ui_extension_checker = UIExtensionChecker.new("pkg")
return unless ui_extension_checker.ok?

StartSWSingle()
end

Expand Down

0 comments on commit 220cc5e

Please sign in to comment.