From c84c94fb5a67798b66d16b4812bc3cf978953cea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 10 Dec 2010 12:48:29 +0100 Subject: [PATCH] xbps-triggers: fix registration of services, bump to 0.11. --- srcpkgs/xbps-triggers/files/openrc-service | 3 +-- srcpkgs/xbps-triggers/template | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/xbps-triggers/files/openrc-service b/srcpkgs/xbps-triggers/files/openrc-service index 99132f937f3..5e9547aa9e8 100755 --- a/srcpkgs/xbps-triggers/files/openrc-service +++ b/srcpkgs/xbps-triggers/files/openrc-service @@ -77,8 +77,7 @@ _EOF continue fi # Register service. - sbin/rc-service -e ${1} - if [ $? -ne 0 ]; then + if [ "$UPDATE" = "no" ]; then sbin/rc-update add ${1} ${2} echo "Registering '${1}' from ${PKGNAME} service to start at boot." fi diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index c17ffbf0043..9aaaa407f65 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.10 +version=0.11 build_style=custom-install short_desc="XBPS triggers" maintainer="Juan RP "