Commit 205984f7 authored by Aard's avatar Aard

[ssu] Don't check credentials update time for store repo

parent 8c911452
......@@ -35,8 +35,11 @@ bool SsuUrlResolver::writeZyppCredentialsIfNeeded(QString credentialsScope){
QString filePath = Sandbox::map("/etc/zypp/credentials.d/" + credentialsScope);
QFileInfo credentialsFileInfo(filePath);
/// @TODO: add scope to lastCredentialsUpdate() to allow scope specific update
/// tracking
if (credentialsFileInfo.exists() &&
credentialsFileInfo.lastModified() > ssu.lastCredentialsUpdate()){
credentialsFileInfo.lastModified() > ssu.lastCredentialsUpdate() &&
credentialsScope != "store"){
// zypp credentials up to date
return true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment