Skip to content

Commit

Permalink
[ssu] Don't check credentials update time for store repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Dec 16, 2013
1 parent 8c91145 commit 205984f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssuurlresolver/ssuurlresolver.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 205984f

Please sign in to comment.