diff options
author | Sam James <sam@gentoo.org> | 2022-10-15 16:33:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-15 16:33:35 +0100 |
commit | ef0a41815008ef8e3f1e07d520e4ceb033a76d57 (patch) | |
tree | e73ebe1341e6278a1b67db901b52400849f33389 /sys-process | |
parent | sys-process/at: drop 3.2.2-r2 (diff) | |
download | gentoo-ef0a41815008ef8e3f1e07d520e4ceb033a76d57.tar.gz gentoo-ef0a41815008ef8e3f1e07d520e4ceb033a76d57.tar.bz2 gentoo-ef0a41815008ef8e3f1e07d520e4ceb033a76d57.zip |
sys-process/at: fix VariableScope
Closes: https://bugs.gentoo.org/836116
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/at/at-3.2.5.ebuild | 8 |
1 files 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() { |