x11-misc/xlockmore: install pam files conditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2021-01-22 18:07:43 +03:00
parent 8f0d07dfba
commit d5151604b6
5 changed files with 10 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -96,9 +96,8 @@ src_install() {
local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
default
pamd_mimic_system xlock auth
if use pam; then
pamd_mimic_system xlock auth
fperms 755 /usr/bin/xlock
else
fperms 4755 /usr/bin/xlock

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -98,9 +98,8 @@ src_install() {
local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
default
pamd_mimic_system xlock auth
if use pam; then
pamd_mimic_system xlock auth
fperms 755 /usr/bin/xlock
else
fperms 4755 /usr/bin/xlock

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -105,9 +105,8 @@ src_install() {
local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
default
pamd_mimic_system xlock auth
if use pam; then
pamd_mimic_system xlock auth
fperms 755 /usr/bin/xlock
else
fperms 4755 /usr/bin/xlock

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -105,9 +105,8 @@ src_install() {
local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
default
pamd_mimic_system xlock auth
if use pam; then
pamd_mimic_system xlock auth
fperms 755 /usr/bin/xlock
else
fperms 4755 /usr/bin/xlock

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -105,9 +105,8 @@ src_install() {
local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
default
pamd_mimic_system xlock auth
if use pam; then
pamd_mimic_system xlock auth
fperms 755 /usr/bin/xlock
else
fperms 4755 /usr/bin/xlock