Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=54217985cdb3a3485fc274b89d16bd9596873ce7
commit 54217985cdb3a3485fc274b89d16bd9596873ce7 Author: James Buren <r...@frugalware.org> Date: Mon Jun 4 17:59:12 2012 -0500 frugalwareutils-1.0.0-4-x86_64 * convert to use systemd schema diff --git a/source/base/frugalwareutils/FrugalBuild b/source/base/frugalwareutils/FrugalBuild index 07280d7..ebb3bae 100644 --- a/source/base/frugalwareutils/FrugalBuild +++ b/source/base/frugalwareutils/FrugalBuild @@ -10,7 +10,7 @@ USE_APIDOCS=${USE_APIDOCS:-"y"} pkgname=frugalwareutils pkgver=1.0.0 Fuse $USE_DEVEL && pkgver=0.9.9.7.gb874e50 -pkgrel=3 +pkgrel=4 pkgdesc="Frugalware configuration utilities." url="http://ftp.frugalware.org/pub/other/frugalwareutils" depends=('glib2>=2.16.4-2' 'ncurses>=5.6-4' 'parted>=3.1' \ @@ -33,6 +33,8 @@ else fi options=('scriptlet') Fconfopts="$Fconfopts --sbindir=/sbin --libdir=/lib --libexecdir=/usr/libexec" +_F_systemd_units=(netconfig=e) +Finclude systemd if [ "$CARCH" == "i686" -o "$CARCH" == "x86_64" ]; then rodepends=("${rodepends[@]}" 'kernel-initrd' 'grub2' 'mlocate' 'libaio' 'multipath-tools' 'jfsutils') @@ -46,6 +48,7 @@ build() make prepare || Fdie fi Fbuild + Fgenscriptlet } # optimization OK diff --git a/source/base/frugalwareutils/frugalwareutils.install b/source/base/frugalwareutils/frugalwareutils.install deleted file mode 100644 index 363556d..0000000 --- a/source/base/frugalwareutils/frugalwareutils.install +++ /dev/null @@ -1,24 +0,0 @@ -post_install() -{ - systemctl enable netconfig.service >/dev/null 2>&1 -} - -post_upgrade() -{ - systemctl daemon-reload >/dev/null 2>&1 -} - -pre_remove() -{ - systemctl stop netconfig.service >/dev/null 2>&1 - systemctl --no-reload disable netconfig.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