From 7cd8b2500f32c60218f5f698f27c880499d38453 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 24 Jul 2022 21:08:37 +0200 Subject: [PATCH 1/2] Completed NetBSD --- src/fetch.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/fetch.c b/src/fetch.c index 3cfb582..6ec8a85 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -503,7 +503,16 @@ void *os() "/bin/ls -1 /var/db/pkg/ | wc -l | tr -d ' '"; osname = sysInfo.sysname; } else if (strncmp(sysInfo.sysname, "NetBSD", 6) == 0) { - + info.col1 = BWHITE "\\\\" BYELLOW "`-______,----__ \n", + info.col2 = BWHITE " \\\\" BYELLOW " __,---`_", + info.col3 = BWHITE " \\\\" BYELLOW " `.____ ", + info.col4 = BWHITE " \\\\" BYELLOW "-______,----`-", + info.col5 = BWHITE " \\\\" BYELLOW " ", + info.col6 = BWHITE " \\\\" BYELLOW " ", + info.col7 = BWHITE " \\\\" BYELLOW " ", + info.col8 = BWHITE ""; + info.getPkgCount = "pkg_info | grep -c ."; + osname = sysInfo.sysname; } pkgCount = pipeRead(info.getPkgCount); From 08da92902fcdcbab2e7b1bdf405d3fdfe8fd5a6f Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 24 Jul 2022 21:32:58 +0200 Subject: [PATCH 2/2] oops --- src/fetch.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/fetch.c b/src/fetch.c index 6ec8a85..7c6438a 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -503,13 +503,13 @@ void *os() "/bin/ls -1 /var/db/pkg/ | wc -l | tr -d ' '"; osname = sysInfo.sysname; } else if (strncmp(sysInfo.sysname, "NetBSD", 6) == 0) { - info.col1 = BWHITE "\\\\" BYELLOW "`-______,----__ \n", - info.col2 = BWHITE " \\\\" BYELLOW " __,---`_", - info.col3 = BWHITE " \\\\" BYELLOW " `.____ ", - info.col4 = BWHITE " \\\\" BYELLOW "-______,----`-", - info.col5 = BWHITE " \\\\" BYELLOW " ", - info.col6 = BWHITE " \\\\" BYELLOW " ", - info.col7 = BWHITE " \\\\" BYELLOW " ", + info.col1 = BWHITE "\\\\" BYELLOW "`-______,----__ \n"; + info.col2 = BWHITE " \\\\" BYELLOW " __,---`_"; + info.col3 = BWHITE " \\\\" BYELLOW " `.____ "; + info.col4 = BWHITE " \\\\" BYELLOW "-______,----`-"; + info.col5 = BWHITE " \\\\" BYELLOW " "; + info.col6 = BWHITE " \\\\" BYELLOW " "; + info.col7 = BWHITE " \\\\" BYELLOW " "; info.col8 = BWHITE ""; info.getPkgCount = "pkg_info | grep -c ."; osname = sysInfo.sysname;