From: Aleksei Nikiforov <darktemplar@altlinux.org> To: devel@lists.altlinux.org Cc: Aleksei Nikiforov <darktemplar@altlinux.org> Subject: [devel] [PATCH for rpm v2] Add triggers circumvension for packagekit offline update Date: Thu, 31 Oct 2019 16:24:59 +0300 Message-ID: <20191031132459.37396-1-darktemplar@altlinux.org> (raw) In-Reply-To: <20191031125957.GA19388@altlinux.org> Joint change with Oleg Solovyov (mcpain@) --- alt/rpm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alt/rpm.spec b/alt/rpm.spec index 6217493b7..a38367ffd 100644 --- a/alt/rpm.spec +++ b/alt/rpm.spec @@ -385,6 +385,10 @@ ls -A tests/rpmtests.dir 2>/dev/null ||: #[ ! -L %%_rpmlibdir/noarch-alt-%%_target_os ] || rm -f %%_rpmlibdir/noarch-alt-%%_target_os ||: %post +if [ -f %_localstatedir/PackageKit/disable-rpm-triggers ]; then + exit 0 +fi + #chgrp %%name %%_localstatedir/%%name/[A-Z]* [ -n "$DURING_INSTALL" -o -n "$BTE_INSTALL" ] || %_rpmlibdir/pdeath_execute $PPID %_rpmlibdir/postupdate -- 2.21.0
prev parent reply other threads:[~2019-10-31 13:24 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-31 11:58 [devel] [PATCH for rpm] " Aleksei Nikiforov 2019-10-31 12:59 ` Dmitry V. Levin 2019-10-31 13:19 ` Aleksei Nikiforov 2019-11-01 18:58 ` Dmitry V. Levin 2019-11-05 12:40 ` [devel] [PATCH for rpm v3] " Aleksei Nikiforov 2019-10-31 13:24 ` Aleksei Nikiforov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191031132459.37396-1-darktemplar@altlinux.org \ --to=darktemplar@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git