mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-11 06:34:16 +02:00
[aur] fix: not able to work with .xpm icons
This commit is contained in:
@@ -145,7 +145,7 @@ def list_icon_paths(pkgnames: Set[str]) -> List[str]:
|
||||
installed_files = new_subprocess(['pacman', '-Qlq', *pkgnames])
|
||||
|
||||
icon_files = []
|
||||
for out in new_subprocess(['grep', '-E', '.(png|svg)$'], stdin=installed_files.stdout).stdout:
|
||||
for out in new_subprocess(['grep', '-E', '.(png|svg|xpm)$'], stdin=installed_files.stdout).stdout:
|
||||
if out:
|
||||
line = out.decode().strip()
|
||||
if line:
|
||||
|
||||
Reference in New Issue
Block a user