2 Commits

Author SHA1 Message Date
Juergen Daubert
da6bfb0a60 move prt-get.aliases to /etc, update version to 5.19.5 2020-10-16 10:27:37 +02:00
Matt Housh
ac030e3530 Added a regex fix for listinst, updated to version 5.19.4 2020-10-13 09:44:00 -05:00
4 changed files with 5 additions and 4 deletions

2
configure vendored
View File

@@ -2585,7 +2585,7 @@ fi
# Define the identity of the package.
PACKAGE=prt-get
VERSION=5.19.3
VERSION=5.19.5
cat >>confdefs.h <<_ACEOF

View File

@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_INIT
AC_CONFIG_SRCDIR([src/prtget.cpp])
AM_INIT_AUTOMAKE(prt-get,5.19.3)
AM_INIT_AUTOMAKE(prt-get,5.19.5)
dnl Determine default prefix

View File

@@ -27,7 +27,7 @@ using namespace std;
const string PkgDB::PKGDB = "/var/lib/pkg/db";
const string PkgDB::ALIAS_STORE = LOCALSTATEDIR"/lib/pkg/prt-get.aliases";
const string PkgDB::ALIAS_STORE = SYSCONFDIR"/prt-get.aliases";
/*!
Create a PkgDB object

View File

@@ -524,7 +524,8 @@ void PrtGet::listInstalled()
{
assertMaxArgCount(1);
string arg = "*";
string arg = m_useRegex ? ".*" : "*";
if ( m_parser->otherArgs().size() == 1 ) {
arg = *(m_parser->otherArgs().begin());
}