Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=964a9a1a6094a5ca68fcbcd7b6130708edb517f1
commit 964a9a1a6094a5ca68fcbcd7b6130708edb517f1 Author: Miklos Vajna <vmik...@frugalware.org> Date: Fri Mar 4 13:26:19 2011 +0100 quota-tools-3.17-4-i686 - depend on systemd for service file handling in install scriptlet diff --git a/source/apps/quota-tools/FrugalBuild b/source/apps/quota-tools/FrugalBuild index 0e3d878..5982e0b 100644 --- a/source/apps/quota-tools/FrugalBuild +++ b/source/apps/quota-tools/FrugalBuild @@ -3,9 +3,10 @@ pkgname=quota-tools pkgver=3.17 -pkgrel=3 +pkgrel=4 pkgdesc="Linux disk quota utilities" depends=('e2fsprogs') +rodepends=('systemd') groups=('apps') archs=('i686' 'x86_64' 'ppc') _F_sourceforge_dirname=linuxquota diff --git a/source/apps/quota-tools/quota-tools.install b/source/apps/quota-tools/quota-tools.install index 663470b..ff5e4d8 100644 --- a/source/apps/quota-tools/quota-tools.install +++ b/source/apps/quota-tools/quota-tools.install @@ -1,14 +1,12 @@ post_install() { /usr/sbin/chkconfig --add rc.quota - ln -sf '/lib/systemd/system/quotacheck.service' '/etc/systemd/system/local-fs.target.wants/quotacheck.service' - ln -sf '/lib/systemd/system/quotaon.service' '/etc/systemd/system/local-fs.target.wants/quotaon.service' + systemctl enable quotacheck.service quotaon.service >/dev/null 2>&1 } pre_remove() { - rm -f '/etc/systemd/system/local-fs.target.wants/quotacheck.service' - rm -f '/etc/systemd/system/local-fs.target.wants/quotaon.service' + systemctl disable quotacheck.service quotaon.service >/dev/null 2>&1 /usr/sbin/chkconfig --del rc.quota } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git