From 487ea2c1846835a638ca766a0d4b2ddfd78c230c Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 9 Feb 2019 16:40:51 +0000 Subject: align the face patch to the FreeBSD version --- debian/patches/add_face_support.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'debian/patches/add_face_support.patch') diff --git a/debian/patches/add_face_support.patch b/debian/patches/add_face_support.patch index 55fb391..8f906a5 100644 --- a/debian/patches/add_face_support.patch +++ b/debian/patches/add_face_support.patch @@ -11,12 +11,13 @@ Author: Vincenzo 'KatolaZ' Nicosia void lflag_print(void) -@@ -99,6 +100,8 @@ +@@ -99,6 +100,9 @@ * shell * office, office phone, home phone if available */ -+ show_text(pn->dir, _PATH_FACE, "~~~~~~~~~~~~~~~~~~~~\n"); + xprintf("~~~~~~~~~~~~~~~~~~~~\n"); ++ if(show_text(pn->dir, _PATH_FACE, "")) ++ xprintf("~~~~~~~~~~~~~~~~~~~~\n"); xprintf("Login: %-15s\t\t\tName: %s\nDirectory: %-25s", pn->name, pn->realname ? pn->realname : "", pn->dir); xprintf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL); -- cgit v1.2.3