Skip to content

Commit bde7dae

Browse files
committed
install switch-initutils for 66 and change how the '@Version' key is set.
1 parent 621f261 commit bde7dae

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

srcpkgs/boot-66serv/template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ post_install() {
2525
vinstall ${FILESDIR}/switch-initutils 644 etc/runit/core-services 99-switch-initutils.sh
2626
vbin ${FILESDIR}/66
2727
vlicense LICENSE
28+
# @version should be incremented only when there is a change in the specific
29+
# frontend service file.
2830
vinstall ${FILESDIR}/tty@ 644 usr/share/66/service/
29-
vsed -i "s/@VERSION@/${version}/" "${DESTDIR}/usr/share/66/service/tty@"
31+
vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/tty@"
3032
vinstall ${FILESDIR}/runit 644 usr/share/66/service/
31-
vsed -i "s/@VERSION@/${version}/" "${DESTDIR}/usr/share/66/service/runit"
33+
vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/runit"
34+
vinstall ${FILESDIR}/switch-initutils-66 644 usr/share/66/service/ switch-initutils
35+
vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/switch-initutils"
3236
}

0 commit comments

Comments
 (0)