Commit 3c0d1223 authored by Leo's avatar Leo
Browse files

community/elogind: add post-install script to reload udev rules

parent 297aa342
Pipeline #2210 passed with stages
in 1 minute and 52 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=elogind
pkgver=241.3
pkgrel=4
pkgrel=5
pkgdesc="Standalone fork of systemd's elogind"
url="https://github.com/elogind/elogind"
arch="all"
......@@ -35,6 +35,7 @@ subpackages="
lib$pkgname:libs
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch"
install="$pkgname.post-install"
source="
$pkgname-$pkgver.tar.gz::https://github.com/elogind/elogind/archive/v$pkgver.tar.gz
reverse_DISABLE_BUFFER_in_cg_attach.patch
......
#!/bin/sh
#
# If we have udev running then reload the rules and add the
# proper subsystems so people can use it
if [ -S /run/udev/control ]; then
udevadm control --reload-rules
udevadm trigger --type=subsystems
fi
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment