From 43b0ffe9668ae3140c6436541bcc1ee0f4851105 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Tue, 3 Jun 2014 17:38:36 +0200 Subject: [PATCH] Service refresh must not attempt to modify plugin services --- zypp/RepoManager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc index e673038..3513ec0 100644 --- a/zypp/RepoManager.cc +++ b/zypp/RepoManager.cc @@ -2042,8 +2042,8 @@ namespace zypp } //////////////////////////////////////////////////////////////////////////// - // save service if modified: - if ( serviceModified ) + // save service if modified: (unless a plugin service) + if ( serviceModified && service.type() != ServiceType::PLUGIN ) { // write out modified service file. modifyService( service.alias(), service ); -- 2.7.4