ConsoleKit2: fix runit service (use test -e to dereference symlink).
Also remove obsolete vpkg (provides/replaces).
This commit is contained in:
parent
9721d857fe
commit
b91efde48a
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ -L /var/service/cgmanager ]; then
|
||||
if [ -e /var/service/cgmanager ]; then
|
||||
sv check cgmanager >/dev/null || exit 1
|
||||
fi
|
||||
exec console-kit-daemon --no-daemon
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ConsoleKit2'
|
||||
pkgname=ConsoleKit2
|
||||
version=1.1.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
|
||||
--with-rundir=/run --enable-udev-acl --enable-pam-module
|
||||
|
@ -16,9 +16,6 @@ license="GPL-2"
|
|||
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
||||
checksum=a40d92358aca9f627a224dca674090e310423b00ed63fc06482997611661b69b
|
||||
|
||||
provides="ConsoleKit-${version}_${revision}"
|
||||
replaces="ConsoleKit>=0"
|
||||
|
||||
make_dirs="
|
||||
/etc/ConsoleKit/run-seat.d 0755 root root
|
||||
/etc/ConsoleKit/run-session.d 0755 root root
|
||||
|
|
Loading…
Reference in New Issue