[Midnightbsd-cvs] src [6947] trunk/libexec/mport.list/mport.list.c: if we cant find the package in the index, its probably not currently available in the package system.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Nov 12 08:20:56 EST 2014
Revision: 6947
http://svnweb.midnightbsd.org/src/?rev=6947
Author: laffer1
Date: 2014-11-12 08:20:55 -0500 (Wed, 12 Nov 2014)
Log Message:
-----------
if we cant find the package in the index, its probably not currently available in the package system. mention that to the user
Modified Paths:
--------------
trunk/libexec/mport.list/mport.list.c
Modified: trunk/libexec/mport.list/mport.list.c
===================================================================
--- trunk/libexec/mport.list/mport.list.c 2014-11-12 13:09:51 UTC (rev 6946)
+++ trunk/libexec/mport.list/mport.list.c 2014-11-12 13:20:55 UTC (rev 6947)
@@ -126,6 +126,8 @@
mport_index_entry_free_vec(indexEntries);
indexEntries = NULL;
+ } else {
+ (void) printf("%-15s %8s is no longer available.\n", (*packs)->name, (*packs)->version);
}
} else if (verbose) {
comment = str_remove((*packs)->comment, '\\');
More information about the Midnightbsd-cvs
mailing list