xbps-src: vsv: chmod +x run/finish scripts; create supervise symlink.

This commit is contained in:
Juan RP 2014-10-13 12:37:33 +02:00
parent 0dde9a0ea3
commit b700bf40e4
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ _vsv() {
vmkdir etc/sv vmkdir etc/sv
vcopy "${FILESDIR}/$service" etc/sv vcopy "${FILESDIR}/$service" etc/sv
chmod +x ${PKGDESTDIR}/etc/sv/${service}/run
if [ -r ${PKGDESTDIR}/etc/sv/${service}/finish ]; then
chmod +x ${PKGDESTDIR}/etc/sv/${service}/finish
fi
ln -s /run/runit/supervise.${service} ${PKGDESTDIR}/etc/sv/${service}/supervise
} }
_vbin() { _vbin() {