summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-14 10:00:09 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-14 10:00:09 +0000
commit4eb45a02d3106a414c165c9bbf9d188474aaa8df (patch)
tree4a7fc95d68fe3712dd19ebcd4c30cad3be1c75fc /usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
parent9f3ff678da304f25a7b5583c667e4dff7d39f58e (diff)
maintain stemlist for installed packages dynamically
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageRepository.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
index ce389f8d360..25bcade9976 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageRepository.pm,v 1.29 2007/05/13 17:00:02 espie Exp $
+# $OpenBSD: PackageRepository.pm,v 1.30 2007/05/14 10:00:08 espie Exp $
#
# Copyright (c) 2003-2006 Marc Espie <espie@openbsd.org>
#
@@ -284,6 +284,11 @@ sub list
return \@list;
}
+sub stemlist
+{
+ return installed_stems();
+}
+
sub wipe_info
{
}