Projects
openEuler:24.03:SP1:Everything
rpm
_service:tar_scm:revert-always-execute-file-tri...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:revert-always-execute-file-trigger-scriptlet-callbac.patch of Package rpm
From 9680c3f2f8ceeddced6e91048daeb9b93abf4c8d Mon Sep 17 00:00:00 2001 From: openEuler Buildteam <buildteam@openeuler.org> Date: Wed, 25 Mar 2020 16:57:29 +0800 Subject: [PATCH] revert always execute file trigger scriptlet callbacks with owning header --- lib/rpmtriggers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rpmtriggers.c b/lib/rpmtriggers.c index 285b2f0..b7c76e7 100644 --- a/lib/rpmtriggers.c +++ b/lib/rpmtriggers.c @@ -437,7 +437,7 @@ static int runHandleTriggersInPkg(rpmts ts, rpmte te, Header h, inputFunc = (char *(*)(void *)) matchFilesNext; rpmScriptSetNextFileFunc(script, inputFunc, mfi); - nerrors += runScript(ts, NULL, h, installPrefixes.data, + nerrors += runScript(ts, te, h, installPrefixes.data, script, 0, -1); rpmtdFreeData(&installPrefixes); rpmScriptFree(script); -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2