OSDN Git Service

Merge branch 'master' into unofficial-repo
[avyssos/66-voidlinux.git] / srcpkgs / boot-66serv / template
index 575bb81..2d440cb 100755 (executable)
@@ -37,13 +37,15 @@ post_install() {
        # Create symlink for the boot@system service configuration file
        ln -s ../etc/66/conf/boot@system/version/boot@system "${DESTDIR}/etc/66rc.conf"
 
-       # Install runit and switch-initutils services for 66
+       # Install runit, runit-wrapsv@ and switch-initutils services for 66
        # @version should be incremented only when there is a change in the specific
        # frontend service file.
        vinstall "${FILESDIR}"/runit 644 usr/share/66/service/
        vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/runit"
        vinstall "${FILESDIR}"/switch-initutils-66 644 usr/share/66/service/ switch-initutils
        vsed -i "s/@VERSION@/0.0.2/" "${DESTDIR}/usr/share/66/service/switch-initutils"
+       vinstall "${FILESDIR}"/wrapsv@ 644 usr/share/66/service/
+       vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/runit-wrapsv@"    
 
        # Install sysctl.sh in /usr/share/66/script/
        vinstall "${FILESDIR}"/sysctl.sh 755 usr/share/66/script/