mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
snapper : remove init option
This commit is contained in:
@@ -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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user