diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-11 22:57:44 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-11 22:57:44 +0000 |
commit | af8d6a73da22fa7ad6039e1d1140ae1f3c11eb74 (patch) | |
tree | 690136f87445ec287d153a9df49ccfd3dbab1b1e /src/GLIUtility.py | |
parent | grep vdb once for kernel modules instead of doing it for each module under /l... (diff) | |
download | gli-af8d6a73da22fa7ad6039e1d1140ae1f3c11eb74.tar.gz gli-af8d6a73da22fa7ad6039e1d1140ae1f3c11eb74.tar.bz2 gli-af8d6a73da22fa7ad6039e1d1140ae1f3c11eb74.zip |
strip off category because that's how it was done previously...ick
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/branches/overhaul@1780 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/GLIUtility.py')
-rw-r--r-- | src/GLIUtility.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GLIUtility.py b/src/GLIUtility.py index e3cc324..e9fb52c 100644 --- a/src/GLIUtility.py +++ b/src/GLIUtility.py @@ -918,7 +918,7 @@ def get_grp_pkgs_from_cd(): results.append(pkg[(pkg.find('/')+1):]) return results """ - return spawn(r"find /var/db/pkg -mindepth 2 -maxdepth 2 -type d | sed -e 's:^/var/db/pkg/::' -e 's:-[0-9].*$::'", return_output=True)[1].strip().split("\n") + return spawn(r"find /var/db/pkg -mindepth 2 -maxdepth 2 -type d | sed -e 's:^/var/db/pkg/::' -e 's:-[0-9].*$::' -e 's:^.\+/::'", return_output=True)[1].strip().split("\n") def get_keymaps(): return GLIUtility.spawn(r"find /usr/share/keymaps -iname *.map.gz | sed -e 's:^.\+/::' -e 's:\..\+$::' | sort", return_output=True)[1].strip().split("\n") |