diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-02-09 16:40:51 +0000 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-02-09 16:40:51 +0000 |
commit | 487ea2c1846835a638ca766a0d4b2ddfd78c230c (patch) | |
tree | 73e4d886fd8c50160b3696bb899490b97c0a1404 /debian | |
parent | eef8eb23feb14ac4f85e07b885b7e2cbe9cf74a9 (diff) |
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); |