Mercurial > mxe-octave
changeset 5361:1cbfb3375099
* tools/msys2-install.py: better attempt to get pk info directory for a name
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 07 Apr 2020 08:06:42 -0400 |
parents | aeda3ca4f416 |
children | c630ba1efe52 |
files | tools/msys2-install.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/msys2-install.py Mon Apr 06 18:05:16 2020 -0400 +++ b/tools/msys2-install.py Tue Apr 07 08:06:42 2020 -0400 @@ -153,7 +153,7 @@ def uninstall_pkg(pkgname, env): pkgpath = env.msysdir + "/var/lib/pacman/local/" - files=glob.glob(pkgpath + pkgname + "-" + "*") + files=glob.glob(pkgpath + pkgname + "-" + "[r0-9].*") for f in files: if env.verbose: print "uninstalling " + f