diff options
Diffstat (limited to 'sys-process/at/at-3.2.5.ebuild')
-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() { |