i3lock-color: fix pam configuration file
pam_tally(i3lock:auth): Error opening /var/log/faillog for update pam_tally doesn't have the necessary privileges to write to /var/log/faillog. Replace 'login' with 'system-auth' to fix the issue. Fix taken from Gentoo.
This commit is contained in:
parent
81471bc82d
commit
c8387ba7e8
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'i3lock-color'
|
||||
pkgname=i3lock-color
|
||||
version=2.12
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-${version}.c"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config automake"
|
||||
|
@ -20,6 +20,10 @@ pre_configure() {
|
|||
autoreconf -i
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
vsed -i 's:login:system-auth:' pam/i3lock
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue