summaryrefslogtreecommitdiff
path: root/sys-process/at/at-3.2.5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-15 19:51:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-15 19:51:12 +0100
commitca144cbf71b2faf598564847378fa40a0090d67c (patch)
treed9dc05cd474f9feb1649b145b41e453bbebc1ad4 /sys-process/at/at-3.2.5.ebuild
parent7b0230b9f0a5cbd2779e7b25d57df8c33b6d0a88 (diff)
gentoo auto-resync : 15:10:2022 - 19:51:12
Diffstat (limited to 'sys-process/at/at-3.2.5.ebuild')
-rw-r--r--sys-process/at/at-3.2.5.ebuild8
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() {