Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=41078e94ce6162fc60cbb1cff8bc1de2ae466e0a
commit 41078e94ce6162fc60cbb1cff8bc1de2ae466e0a Author: James Buren <r...@frugalware.org> Date: Mon Jun 4 20:12:08 2012 -0500 at-3.1.13-2-x86_64 * convert to use systemd schema diff --git a/source/apps/at/FrugalBuild b/source/apps/at/FrugalBuild index 6c61437..50666d9 100644 --- a/source/apps/at/FrugalBuild +++ b/source/apps/at/FrugalBuild @@ -3,7 +3,7 @@ pkgname=at pkgver=3.1.13 -pkgrel=1 +pkgrel=2 pkgdesc="Allows you to run jobs at specified times" url="http://ftp.debian.org/debian/pool/main/a/at/" backup=('etc/at.deny' 'etc/sysconfig/atd') @@ -15,6 +15,9 @@ Fpkgversep="_" up2date="Flastarchive http://ftp.debian.org/debian/pool/main/a/at/ .orig.tar.gz" source=(http://ftp.debian.org/debian/pool/main/a/at/${pkgname}_$pkgver.orig.tar.gz \ 00-$pkgname-3.1.10.1-makefile.patch rc.atd rc.atd-{de,hu}.po atd.service atd) +_F_sysvinit_units=(atd) +_F_systemd_units=(atd=e) +Finclude systemd sha1sums=('9873e0c38403ef58364912d0b505fd20798fd400' \ '4703618c6e9e09a177287031f16025ca33bc831c' \ 'df864603b360e3b549d97f6fb7f960e2ae3245df' \ @@ -45,6 +48,7 @@ build() { Frcd2 atd Ffile /lib/systemd/system/atd.service Ffile /etc/sysconfig/atd + Fgenscriptlet } diff --git a/source/apps/at/at.install b/source/apps/at/at.install deleted file mode 100644 index a07aebb..0000000 --- a/source/apps/at/at.install +++ /dev/null @@ -1,27 +0,0 @@ -post_install() { - chkconfig --add rc.atd - systemctl enable atd.service >/dev/null 2>&1 -} - -post_upgrade() { - systemctl daemon-reload >/dev/null 2>&1 - if [ `vercmp $2 3.1.13-1` -lt 0 ]; then - if chkconfig rc.atd; then - post_install - fi - fi -} - -pre_remove() { - chkconfig --del rc.atd - systemctl --no-reload disable atd.service >/dev/null 2>&1 - systemctl stop atd.service >/dev/null 2>&1 -} - -post_remove() { - systemctl daemon-reload >/dev/null 2>&1 -} - -op=$1 -shift -$op $* _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git