xbps-triggers: fix registration of services, bump to 0.11.
This commit is contained in:
parent
f4af754364
commit
c84c94fb5a
2 changed files with 2 additions and 3 deletions
srcpkgs/xbps-triggers
|
@ -77,8 +77,7 @@ _EOF
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
# Register service.
|
# Register service.
|
||||||
sbin/rc-service -e ${1}
|
if [ "$UPDATE" = "no" ]; then
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
sbin/rc-update add ${1} ${2}
|
sbin/rc-update add ${1} ${2}
|
||||||
echo "Registering '${1}' from ${PKGNAME} service to start at boot."
|
echo "Registering '${1}' from ${PKGNAME} service to start at boot."
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.10
|
version=0.11
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="XBPS triggers"
|
short_desc="XBPS triggers"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Reference in a new issue