From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFB95158021 for ; Sat, 15 Oct 2022 15:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FEB1E092E; Sat, 15 Oct 2022 15:34:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18A19E092E for ; Sat, 15 Oct 2022 15:34:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 218D0340F31 for ; Sat, 15 Oct 2022 15:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1FAA61C for ; Sat, 15 Oct 2022 15:34:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1665848015.ef0a41815008ef8e3f1e07d520e4ceb033a76d57.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/at/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/at/at-3.2.5.ebuild X-VCS-Directories: sys-process/at/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ef0a41815008ef8e3f1e07d520e4ceb033a76d57 X-VCS-Branch: master Date: Sat, 15 Oct 2022 15:34:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d9f8b11-9062-4fc4-a5ed-1c42046afeb2 X-Archives-Hash: a22867d2ac4a756bdd234fddbc361c5f commit: ef0a41815008ef8e3f1e07d520e4ceb033a76d57 Author: Sam James gentoo org> AuthorDate: Sat Oct 15 15:33:35 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 15 15:33:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0a4181 sys-process/at: fix VariableScope Closes: https://bugs.gentoo.org/836116 Signed-off-by: Sam James gentoo.org> sys-process/at/at-3.2.5.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-process/at/at-3.2.5.ebuild b/sys-process/at/at-3.2.5.ebuild index 3165b0eba3fb..e42b80b0270b 100644 --- a/sys-process/at/at-3.2.5.ebuild +++ b/sys-process/at/at-3.2.5.ebuild @@ -74,15 +74,17 @@ src_install() { newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd fi + systemd_dounit "${FILESDIR}/atd.service" + keepdir /var/spool/at/atspool +} + +pkg_preinst() { # Preserve existing .SEQ files (bug #386625) local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ" if [[ -f "${seq_file}" ]] ; then einfo "Preserving existing .SEQ file (bug #386625)." cp -p "${seq_file}" "${ED}"/var/spool/at/atjobs/ || die fi - - systemd_dounit "${FILESDIR}/atd.service" - keepdir /var/spool/at/atspool } pkg_postinst() {