pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform mk/Linux: nologin is in /usr/sbin on debian



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f55ba0758e6b
branches:  trunk
changeset: 378259:f55ba0758e6b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 01 08:10:11 2022 +0000

description:
mk/Linux: nologin is in /usr/sbin on debian

diffstat:

 mk/platform/Linux.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 7020b3f28593 -r f55ba0758e6b mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Sun May 01 08:06:46 2022 +0000
+++ b/mk/platform/Linux.mk      Sun May 01 08:10:11 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.89 2022/05/01 08:03:41 nia Exp $
+# $NetBSD: Linux.mk,v 1.90 2022/05/01 08:10:11 nia Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -28,6 +28,8 @@
 .endif
 .if exists(/sbin/nologin)
 NOLOGIN?=      /sbin/nologin
+.elif exists(/usr/sbin/nologin)
+NOLOGIN?=      /usr/sbin/nologin
 .else
 NOLOGIN?=      /bin/false
 .endif



Home | Main Index | Thread Index | Old Index