diff --git a/package/yast2-registration.changes b/package/yast2-registration.changes index 1f8be2da9..564189df1 100644 --- a/package/yast2-registration.changes +++ b/package/yast2-registration.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 8 09:22:44 UTC 2014 - lslezak@suse.cz + +- fixed check for registered status (bnc#886116) +- 3.1.89 + ------------------------------------------------------------------- Mon Jul 7 13:46:45 UTC 2014 - lslezak@suse.cz diff --git a/package/yast2-registration.spec b/package/yast2-registration.spec index b81da9142..d75cac31f 100644 --- a/package/yast2-registration.spec +++ b/package/yast2-registration.spec @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 3.1.87 +Version: 3.1.88 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/src/lib/registration/registration.rb b/src/lib/registration/registration.rb index c95c27445..063bf60e0 100644 --- a/src/lib/registration/registration.rb +++ b/src/lib/registration/registration.rb @@ -109,7 +109,8 @@ def activated_products end def self.is_registered? - SUSE::Connect::System.registered? + # just a simple file check without connection to SCC + File.exist?(SCC_CREDENTIALS) end private