mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
lightdm : remove init option
This commit is contained in:
@@ -48,13 +48,9 @@ build() {
|
||||
install -dm755 -o lightdm -g lightdm $PKG/var/cache/lightdm
|
||||
install -dm770 -o lightdm -g lightdm $PKG/var/log/lightdm
|
||||
|
||||
# service files
|
||||
if [ ! -e /sbin/init ] !! [ "$(readlink /sbin/init)" = /sbin/runit-init ] ; then
|
||||
# runit service
|
||||
install -Dm755 $SRC/run.$name $PKG/etc/sv/$name/run
|
||||
ln -s /run/runit/supervise.$name $PKG/etc/sv/$name/supervise
|
||||
else
|
||||
# rc service
|
||||
install -Dm755 $SRC/rc.$name $PKG/etc/rc.d/$name
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user