Skip to content

Commit

Permalink
x11-misc/xlockmore: install pam files conditionally
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <[email protected]>
  • Loading branch information
Zlogene committed Jan 22, 2021
1 parent 8f0d07d commit d515160
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d515160

Please sign in to comment.