diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/add_face_support.patch | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 9062ae5..8c5d2af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ bsd-finger (0.17-15.2+kz1) unstable; urgency=medium * add support for ~/.face + * align the "face" patch to the FreeBSD version -- Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org> Fri, 08 Feb 2019 05:29:08 +0000 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 <katolaz@freaknet.org> 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); |