snapper : remove init option

This commit is contained in:
Victor Tebar
2022-12-09 18:07:51 +00:00
parent ffdd257844
commit d8e399015c

View File

@@ -42,15 +42,11 @@ build() {
make
make DESTDIR=$PKG install
# service files
if [ ! -e /sbin/init ] !! [ "$(readlink /sbin/init)" = /sbin/runit-init ] ; then
# runit service
install -Dm755 $SRC/run.snapperd $PKG/etc/sv/snapperd/run
ln -s /run/runit/supervise.snapperd $PKG/etc/sv/snapperd/supervise
else
# rc service
install -Dm755 $SRC/rc.snapperd $PKG/etc/rc.d/snapperd
fi
rm -rf $PKG/usr/lib/snapper/testsuite/
}